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 'OR a.category_id_wrapper like "%,,%" OR a.multi_categories like "%,,%")
' at line 2 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/BaseConnection.php(2011): CodeIgniter\Database\BaseConnection->query()
#4 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/models/cat.php(316): CodeIgniter\Database\BaseConnection->query_limit()
#5 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/controllers/cat.php(44): ProductsModelsCat->getProductsList()
#6 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/functions.php(1195): ProductsControllersCat->display()
#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/BaseConnection.php(2011): CodeIgniter\Database\BaseConnection->query()
#1 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/models/cat.php(316): CodeIgniter\Database\BaseConnection->query_limit()
#2 /home/vitimex/domains/vitimex.com.vn/public_html/modules/products/controllers/cat.php(44): ProductsModelsCat->getProductsList()
#3 /home/vitimex/domains/vitimex.com.vn/public_html/libraries/functions.php(1195): ProductsControllersCat->display()
#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