Warning: Invalid argument supplied for foreach() in /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/controllers/sale_cat.php on line 83
mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND `category_id_wrapper` LIKE '%,7,%' ESCAPE '!'' at line 4 in /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/MySQLi/Connection.php:331
Stack trace:
#0 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/MySQLi/Connection.php(331): mysqli->query()
#1 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/BaseConnection.php(776): CodeIgniter\Database\MySQLi\Connection->execute()
#2 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/BaseConnection.php(701): CodeIgniter\Database\BaseConnection->simpleQuery()
#3 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/BaseBuilder.php(1950): CodeIgniter\Database\BaseConnection->query()
#4 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/models/sale_cat.php(74): CodeIgniter\Database\BaseBuilder->countAllResults()
#5 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/controllers/sale_cat.php(92): ProductsModelsSale_cat->getTotalRow2()
#6 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/functions.php(1195): ProductsControllersSale_cat->detail()
#7 /home/vitimex/domains/vitimex.com.vn/public_html/index.php(298): call_module()
#8 /home/vitimex/domains/vitimex.com.vn/public_html/index.php(170): loadMainContent()
#9 {main}
Fatal error: Uncaught Error: Call to undefined method CodeIgniter\Database\Query::getResult() in /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/BaseConnection.php:723
Stack trace:
#0 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/BaseBuilder.php(1950): CodeIgniter\Database\BaseConnection->query()
#1 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/models/sale_cat.php(74): CodeIgniter\Database\BaseBuilder->countAllResults()
#2 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/controllers/sale_cat.php(92): ProductsModelsSale_cat->getTotalRow2()
#3 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/functions.php(1195): ProductsControllersSale_cat->detail()
#4 /home/vitimex/domains/vitimex.com.vn/public_html/index.php(298): call_module()
#5 /home/vitimex/domains/vitimex.com.vn/public_html/index.php(170): loadMainContent()
#6 {main}
thrown in /home/vitimex/domains/vitimex.com.vn/public_html/libraries/CI/Database/BaseConnection.php on line 723