i am a little confused on this one....does not seem to be happening here, but i was able to confirm the issue on a test mirror, default style, all addons disabled.
happens on "most" threads but not all for some reason....instead of loading the topic, it loads the stack trace...
definitely since 2.1.3 only.
ok so heres the error..
happens on "most" threads but not all for some reason....instead of loading the topic, it loads the stack trace...
definitely since 2.1.3 only.
ok so heres the error..
Stack trace
- XF\Db\Exception: MySQL fetch error [2014]: Commands out of sync; you can't run this command now
- src/XF/Db/AbstractStatement.php:217
- Generated by: Admin
- Jul 24, 2019 at 2:57 AM
SELECT alert_id
FROM xf_user_alert
WHERE content_type = ?
AND content_id IN(701, 703, 726, 868, 905, 1324, 8174, 74184, 77306, 77355, 78926, 158067, 158089, 303178)
AND alerted_user_id = ?
AND view_date = 0
AND event_date < ?
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL fetch err...', 2014, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(134): XF\Db\Mysqli\Statement->getException('MySQL fetch err...', 2014, 'HY000')
#2 src/XF/Db/AbstractStatement.php(74): XF\Db\Mysqli\Statement->fetchRowValues()
#3 src/XF/Db/AbstractStatement.php(158): XF\Db\AbstractStatement->fetchColumn(0)
#4 src/XF/Db/AbstractAdapter.php(170): XF\Db\AbstractStatement->fetchAllColumn(0)
#5 src/XF/Repository/UserAlert.php(305): XF\Db\AbstractAdapter->fetchAllColumn('
SELECT aler...', Array)
#6 src/XF/Pub/Controller/Thread.php(57): XF\Repository\UserAlert->markUserAlertsReadForContent('post', Array)
#7 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Thread), NULL)
#9 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Thread), NULL)
#10 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
["url"] => string(43) "/community/threads/onetopic.154/"
["referrer"] => string(36) "https://test.mysite.com/community/"
["_GET"] => array(1) {
["/community/threads/onetopic_154/"] => string(0) ""
}
["_POST"] => array(0) {
}
}