Notice: Undefined variable: where in /var/www/fastuser/data/www/at-shop.com.ua/system/storage/modification/catalog/model/catalog/category.php on line 11
Fatal error: Uncaught Exception: 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 'ORDER BY c.parent_id, c.sort_order, LCASE(cd.name)' at line 7<br />Error No: 1064<br />SELECT * FROM oc_category c
LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id)
LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE cd.language_id = '1'
AND c2s.store_id = '0'
AND
ORDER BY c.parent_id, c.sort_order, LCASE(cd.name) in /var/www/fastuser/data/www/at-shop.com.ua/system/storage/modification/system/library/db/mysqli.php:44
Stack trace:
#0 /var/www/fastuser/data/www/at-shop.com.ua/system/storage/modification/system/library/db.php(45): DB\MySQLi->query('SELECT * FROM o...')
#1 /var/www/fastuser/data/www/at-shop.com.ua/system/storage/modification/catalog/model/catalog/category.php(11): DB->query('SELECT * FROM o...')
#2 /var/www/fa in /var/www/fastuser/data/www/at-shop.com.ua/system/storage/modification/system/library/db/mysqli.php on line 44