Lukas W.
Well-known member
I've set up a bot response with the "mention user" option. When I try to trigger the bot response, I receive the following error in the JS console:
Also the console doesn't log any error when the chat is emptied.
Code:
core-compiled.js?_v=266cab05:41 PHP:
An exception occurred: [Error] Call to undefined method Siropu\Chat\Service\Message\Creator::mentionUser() in src/addons/Siropu/Chat/Pub/Controller/Chat.php on line 603
#0 src/addons/Siropu/Chat/Pub/Controller/Chat.php(403): Siropu\Chat\Pub\Controller\Chat->postBotResponse(Object(Siropu\Chat\Entity\BotResponse))
#1 src/XF/Mvc/Dispatcher.php(249): Siropu\Chat\Pub\Controller\Chat->actionSubmit(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(87): XF\Mvc\Dispatcher->dispatchClass('Siropu\\Chat:Cha...', 'Submit', 'json', Object(XF\Mvc\ParameterBag), 'siropuChat', Object(Siropu\Chat\Pub\Controller\Chat), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1852): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}
Also the console doesn't log any error when the chat is emptied.
Last edited: