550 :: /home/elfama/www/running/module/mysqli.php => Problem preparing query (
SELECT
*
,( SELECT C_NAME FROM wtboard_category
WHERE C_CATE = TA.C_CATE
) CATE_NAME
FROM wtb_goods_master TA
WHERE 1=1
AND TA.N_NO = ?
) no:256 Fatal error: Uncaught Error: Call to a member function execute() on null in /home/elfama/www/running/module/mysqli.php:232
Stack trace:
#0 /home/elfama/www/running/module/Goods.class.php(173): DB_mysqli->rawQuery('\n\t\t\tSELECT \n\t\t\t...', Array)
#1 /home/elfama/www/running/module/Goods.class.php(1003): Goods->searchTable('wtb_goods_maste...', '\n\t\t\t*\n\t\t\t,(\tSEL...', ' AND TA.N_NO = ...', Array)
#2 /home/elfama/www/goods/view.php(94): Goods->selectGoods('890')
#3 {main}
thrown in /home/elfama/www/running/module/mysqli.php on line 232