INSERT INTO xf_thread (`node_id`, `user_id`, `username`, `discussion_state`, `title`, `discussion_open`, `sticky`, `post_date`, `last_post_date`, `last_post_user_id`, `last_post_username`, `thread_id`, `reply_count`, `view_count`, `discussion_type`, `first_post_id`, `last_post_id`, `first_post_likes`, `prefix_id`, `custom_fields`, `tags`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1343): XF\Db\AbstractAdapter->insert('xf_thread', Array)
#5 src/XF/Mvc/Entity/Entity.php(1085): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/Thread/Creator.php(285): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Creator->_save()
#8 src/XF/Pub/Controller/Forum.php(714): XF\Service\Thread\Creator->save()
#9 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(Andy\SimilarThreads\XF\Pub\Controller\Forum), NULL)
#11 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(1844): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}
Request state
array(4) {
["url"] => string(39) "/forums/admin-discussion.26/post-thread"
["referrer"] => string(68) "https://URL/forums/admin-discussion.26/post-thread"
["_GET"] => array(0) {
}
["_POST"] => array(15) {
["prefix_id"] => string(1) "0"
["title"] => string(28) "Disabled the Questions addon"
["message_html"] => string(40) "<p>Went a bit tits up so disabled it</p>"
["attachment_hash"] => string(32) "102c4ffa02280e0286efd2ce85cf7350"
["attachment_hash_combined"] => string(82) "{"type":"post","context":{"node_id":26},"hash":"102c4ffa02280e0286efd2ce85cf7350"}"
["tags"] => string(0) ""
["watch_thread"] => string(1) "1"
["watch_thread_email"] => string(1) "1"
["_xfSet"] => array(3) {
["watch_thread"] => string(1) "1"
["discussion_open"] => string(1) "1"
["sticky"] => string(1) "1"
}
["discussion_open"] => string(1) "1"
["poll"] => array(5) {
["question"] => string(0) ""
["new_responses"] => array(1) {
[0] => string(0) ""
}
["max_votes_type"] => string(6) "single"
["change_vote"] => string(1) "1"
["view_results_unvoted"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(39) "/forums/admin-discussion.26/post-thread"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}