mysqli_sql_exception Object ( [message:protected] => 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 9 [string:Exception:private] => [code:protected] => 1064 [file:protected] => /home/xaydungorg/domains/xaydung.org/public_html/libraries/database/Database.php [line:protected] => 115 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/libraries/database/Database.php [line] => 115 [function] => mysqli_query [args] => Array ( [0] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 8.1.4 [client_version] => 80104 [connect_errno] => 0 [connect_error] => [errno] => 1064 [error] => 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 9 [error_list] => Array ( [0] => Array ( [errno] => 1064 [sqlstate] => 42000 [error] => 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 9 ) ) [field_count] => 1 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 10.4.12-MariaDB [server_version] => 100412 [sqlstate] => 42000 [protocol_version] => 10 [thread_id] => 11711054 [warning_count] => 0 ) [1] => SELECT count(SP.product_id) FROM ltp_stores_products AS SP INNER JOIN ltp_products AS P ON (SP.product_id=P.id) INNER JOIN ltp_stores S ON (P.store_id=S.id) WHERE (P.product_type = 1) AND SP.store_id > 0 AND SP.store_id = 370 AND (SP.product_id IN(3705,3706,3707,3708,3709,3710,3711,3712,3713,3714,3715,3716,3717,3718,3719,3720,3721,4538,4539,4540,4541,4542,4543,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,)) ) ) [1] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/libraries/database/Database.php [line] => 131 [function] => executeQuery [class] => Database [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/libraries/database/Database.php [line] => 250 [function] => loadResult [class] => Database [type] => -> [args] => Array ( [0] => 1 ) ) [3] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/modules/products/ProductsModel.php [line] => 3035 [function] => getOne [class] => Database [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/modules/store/Store.php [line] => 549 [function] => countAllProduct [class] => ProductsModel [type] => -> [args] => Array ( [0] => Array ( [product_id] => 3705,3706,3707,3708,3709,3710,3711,3712,3713,3714,3715,3716,3717,3718,3719,3720,3721,4538,4539,4540,4541,4542,4543,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561, [store_id] => 370 ) ) ) [5] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/libraries/controller/Controller.php [line] => 169 [function] => listProductMenu [class] => Store [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /home/xaydungorg/domains/xaydung.org/public_html/index.php [line] => 16 [function] => dispatcher [class] => Controller [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => [sqlstate:protected] => 42000 )