السَلام عليكم
عندما قمت بتثبيت الإضافة أخي
@shqawe توقف المنتدى لدي ولم يعمل إلا عندما أوقفتها
وظهر عندي هذا الخطأ في السجل
MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND thread.post_date BETWEEN 1565568000 AND 1568160000 ORD' at line 3
هذا عنوان الخطأ ورسالة الخطأ هي
سجل خطأ الخادم
XF\Db\InvalidQueryException: MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND thread.post_date BETWEEN 1565568000 AND 1568160000 ORD' at line 3 · src/XF/Db/AbstractStatement.php:217
أنشأت بواسطة: حساب غير معروف · 3 سبتمبر 2019 في 22:30
Stack trace
SELECT * FROM xf_thread AS thread , xf_user AS user
WHERE thread.user_id = user.user_id
AND thread.node_id NOT IN ()
AND thread.post_date BETWEEN 1565568000 AND 1568160000
ORDER BY thread.reply_count DESC LIMIT 1
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1064, '42000')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1064, '42000')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('
SELEC...', Array)
#5 src/addons/Shqawe/BestUserInXTime/XF/Repository/BuserRepo.php(76): XF\Db\AbstractAdapter->fetchRow('
SELEC...')
#6 src/addons/Shqawe/BestUserInXTime/XF/Repository/BuserRepo.php(108): Shqawe\BestUserInXTime\XF\Repository\BuserRepo->getActivePost('30')
#7 src/addons/Shqawe/BestUserInXTime/Listener.php(36): Shqawe\BestUserInXTime\XF\Repository\BuserRepo->rebuildActivePost('30')
#8 src/XF/App.php(1648): Shqawe\BestUserInXTime\Listener::Shqawe\BestUserInXTime\{closure}(Object(XF\Container), 'bw_ActivePost')
#9 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#10 src/XF/App.php(3028): XF\Container->offsetGet('bw_ActivePost')
#11 src/addons/Shqawe/BestUserInXTime/Listener.php(74): XF\App->container('bw_ActivePost')
#12 [internal function]: Shqawe\BestUserInXTime\Listener::getActiveThread(Object(MMO\Hide\XF\Template\Templater), 'public', 'PAGE_CONTAINER', Array)
#13 src/XF/Extension.php(50): call_user_func_array(Array, Array)
#14 src/XF/App.php(2648): XF\Extension->fire('templater_templ...', Array, 'public
AGE_CON...')
#15 src/XF/Template/Templater.php(1297): XF\App->fire('templater_templ...', Array, 'public
AGE_CON...')
#16 src/XF/Pub/App.php(547): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#17 src/XF/App.php(1989): XF\Pub\App->renderPageHtml('
<div cla...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#18 src/XF/Mvc/Dispatcher.php(362): XF\App->renderPage('
<div cla...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#19 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#20 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#21 src/XF.php(390): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}
Request state
array(4) {
["url"] => string(27) "/vb/whats-new/posts/351148/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
حذف