Discuz! Database 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 '' at line 1
SELECT total FROM hongke_reat WHERE tid=

PHP Debug

No.FileLineCode
1forum.php63runhooks()
2source/function/function_core.php1130hookscript(%s, %s, %s, Array, %s, %s)
3source/function/function_core.php1177plugin_hongke_reat_forum->viewthread_useraction(Array)
4source/plugin/hongke_reat/hongke_reat.class.php15discuz_database::query(%s)
5source/class/discuz/discuz_database.php139db_driver_mysqli->query(%s, false, false)
6source/class/db/db_driver_mysqli.php147db_driver_mysqli->halt(%s, %d, %s)
7source/class/db/db_driver_mysqli.php222break()
ho18up.com ข้อความแสดงข้อผิดพลาดนี้ได้ถูกบันทึกไว้ในรายละเอียด ขออภัยในความไม่สะดวกในการเข้าถึง.