I've gotten this server error 6 times today on the same thread. Any ideas?
Error
#0 src/XF/Service/Thread/Replier.php(159): XF\Service\Thread\Replier->setPostPosition(Array)
#1 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save()
#2 src/XF/Pub/Controller/Thread.php(431): XF\Service\Thread\Replier->save()
#3 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(Andy\WhoVoted\XF\Pub\Controller\Thread), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(60) "/forum/threads/woody%E2%80%99s-lunch-box-menu.7763/add-reply"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(39) "<p>BBQ brisket melt for me, please!</p>"
["attachment_hash"] => string(32) "389f6935204f409952bc67b21880865d"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"thread_id":7763},"hash":"389f6935204f409952bc67b21880865d"}"
["last_date"] => string(10) "1523736840"
["last_known_date"] => string(10) "1523736840"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(51) "/forum/threads/woody%E2%80%99s-lunch-box-menu.7763/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Running XF 2.0.4
Error
- LogicException: Replier can only add posts at the end of a thread
- src/XF/Service/Thread/Replier.php:176
#0 src/XF/Service/Thread/Replier.php(159): XF\Service\Thread\Replier->setPostPosition(Array)
#1 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save()
#2 src/XF/Pub/Controller/Thread.php(431): XF\Service\Thread\Replier->save()
#3 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(Andy\WhoVoted\XF\Pub\Controller\Thread), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}
Request state
array(4) {
["url"] => string(60) "/forum/threads/woody%E2%80%99s-lunch-box-menu.7763/add-reply"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(39) "<p>BBQ brisket melt for me, please!</p>"
["attachment_hash"] => string(32) "389f6935204f409952bc67b21880865d"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"thread_id":7763},"hash":"389f6935204f409952bc67b21880865d"}"
["last_date"] => string(10) "1523736840"
["last_known_date"] => string(10) "1523736840"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(51) "/forum/threads/woody%E2%80%99s-lunch-box-menu.7763/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Running XF 2.0.4