Fixed apply prefix for the threads of two different nodes

mailshuxin

Member
Selected the threads of two different nodes
use apply thread prefix
Throw an error:

PHP:
The following error occurred:

Mysqli prepare error: Operand should contain 1 column(s)
Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 734
Zend_Db_Adapter_Abstract->fetchAll() in XenForo/Model/ThreadPrefix.php at line 60
XenForo_Model_ThreadPrefix->getPrefixes() in XenForo/Model/ThreadPrefix.php at line 218
XenForo_Model_ThreadPrefix->getPrefixesInForum() in XenForo/Model/ThreadPrefix.php at line 238
XenForo_Model_ThreadPrefix->getUsablePrefixesInForums() in XenForo/ControllerPublic/InlineMod/Thread.php at line 374
XenForo_ControllerPublic_InlineMod_Thread->actionPrefix() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /Users/zhao/htdocs/xf113/index.php at line 13

Sorry,my english is very poor ,user google translate
 
Server Error Log
Error Info:
PHP:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Operand should contain 1 column(s) - library/Zend/Db/Statement/Mysqli.php:77
Stack Trace:
PHP:
#0 /Users/zhao/htdocs/xf113/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('?????SELECT pre...')
#1 /Users/zhao/htdocs/xf113/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '?????SELECT pre...')
#2 /Users/zhao/htdocs/xf113/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('?????SELECT pre...')
#3 /Users/zhao/htdocs/xf113/library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('?????SELECT pre...', Array)
#4 /Users/zhao/htdocs/xf113/library/XenForo/Model/ThreadPrefix.php(60): Zend_Db_Adapter_Abstract->fetchAll('?????SELECT pre...')
#5 /Users/zhao/htdocs/xf113/library/XenForo/Model/ThreadPrefix.php(218): XenForo_Model_ThreadPrefix->getPrefixes(Array)
#6 /Users/zhao/htdocs/xf113/library/XenForo/Model/ThreadPrefix.php(238): XenForo_Model_ThreadPrefix->getPrefixesInForum(Array)
#7 /Users/zhao/htdocs/xf113/library/XenForo/ControllerPublic/InlineMod/Thread.php(374): XenForo_Model_ThreadPrefix->getUsablePrefixesInForums(Array)
#8 /Users/zhao/htdocs/xf113/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_InlineMod_Thread->actionPrefix()
#9 /Users/zhao/htdocs/xf113/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /Users/zhao/htdocs/xf113/index.php(13): XenForo_FrontController->run()
#11 {main}

Request State:

PHP:
array(3) {
["url"] => string(47) "http://localhost/xf113/inline-mod/thread/switch"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["threads"] => array(1) {
[0] => string(5) "12378"
}
["_xfToken"] => string(53) "1,1319266826,d7a0765f3467af7925bdc230aeabe52ec3d84107"
["a"] => string(6) "prefix"
["_xfRequestUri"] => string(17) "/xf113/forums/81/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
Top Bottom