Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed AMS max reply comment

Discussion in 'AMS Resolved Bug Reports' started by egerci, Jan 8, 2018.

  1. egerci

    egerci New Member AMS Showcase


    I found a bug. To generate error, find any comment in article system and reply it.
    In your demo site below error occurred.

    The following error occurred:

    An unexpected error occurred. Please try again later.

    In my website:
    Undefined class constant 'OPTION_MAX_COMMENT_REPLY_LENGTH'

    I saw that you use OPTION_MAX_MESSAGE_LENGTH variable in library\NFLJ\AMS\DataWriter\Comment.php file.

    So, I have changed line 149 on library\NFLJ\AMS\DataWriter\CommentReply.php

    $maxCommentReplyLength = $this->getOption(self::OPTION_MAX_COMMENT_REPLY_LENGTH);


    $maxCommentReplyLength = $this->getOption(self::OPTION_MAX_MESSAGE_LENGTH);


    Best regards
    H.Ali E─čerci
  2. Bob

    Bob Developer Staff Member

    This has already been reported (by one of the Early Adopter license holders) and fixed. I will be pushing out a maintenance release sometime this week.
    egerci likes this.
  3. egerci

    egerci New Member AMS Showcase

    I am sorry and thanks ;)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.