• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to 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 Server errors: Cannot instantiate abstract class XenAddons\AMS\Pub\Controller\AbstractComment

Status
Not open for further replies.

Bob

Developer
Staff member
Edge case bug within the prereg action pertaining to posting comments before register (some spam cases will trigger this). This has been resolved in AMS 2.2.7

Code:
    Error: Cannot instantiate abstract class XenAddons\AMS\Pub\Controller\AbstractComment src/XF/Container.php:270

    Generated from: Unknow Account 20 Feb 2021 alle 12:08

Stack Analisys

#0 src/XF/App.php(1599): XF\Container->createObject('XenAddons\\AMS\\P...', Array, true)
#1 src/XF/Container.php(228): XF\App->XF\{closure}('XenAddons\\AMS\\P...', Array, Object(XF\Container))
#2 src/XF/App.php(2792): XF\Container->create('controller', 'XenAddons\\AMS\\P...', Array)
#3 src/XF/Mvc/Dispatcher.php(289): XF\App->controller('XenAddons\\AMS\\P...', Object(XF\Http\Request))
#4 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XenAddons\\AMS\\P...', 'comment', Object(XF\Mvc\RouteMatch), NULL, Object(XF\Mvc\Reply\Reroute))
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), NULL, Object(XF\Mvc\Reply\Reroute))
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#8 src/XF.php(488): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request Status

array(4) {
  ["url"] => string(78) "/ams/article-comments/h-v-lomogeneizzatore-di-liquidi-italiano.216/add-comment"
  ["referrer"] => string(91) "https://www.sigarettaelettronicaforum.com/ams/h-v-lomogeneizzatore-di-liquidi-italiano.216/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["message_html"] => string(107) "drug chloroquine [url=https://chloroquineorigin.com/#]chloroquine generic[/url] side effects of chloroquine"
    ["message"] => string(107) "drug chloroquine [url=https://chloroquineorigin.com/#]chloroquine generic[/url] side effects of chloroquine"
    ["_xfUsername"] => string(18) "aralen chloroquine"
    ["no_captcha"] => string(1) "1"
    ["submit"] => string(0) ""
    ["last_date"] => string(10) "1607028535"
    ["last_known_date"] => string(1) "0"
    ["load_extra"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Status
Not open for further replies.
Back
Top