Notice: Undefined variable: categories_to_show in /home/l/lensvet/zavod-lensvet.ru/storage/modification/catalog/controller/product/product.php on line 896Warning: implode(): Invalid arguments passed in /home/l/lensvet/zavod-lensvet.ru/storage/modification/catalog/controller/product/product.php on line 896 Fatal error: Uncaught Exception: Error: 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 ')' at line 1
Error No: 1064
SELECT product_id FROM oc_product_to_category WHERE category_id IN () in /home/l/lensvet/zavod-lensvet.ru/storage/modification/system/library/db/mysqli.php:44 Stack trace: #0 /home/l/lensvet/zavod-lensvet.ru/public_html/system/library/db.php(45): DB\MySQLi->query('SELECT product_...') #1 /home/l/lensvet/zavod-lensvet.ru/storage/modification/catalog/model/catalog/product.php(98): DB->query('SELECT product_...') #2 [internal function]: ModelCatalogProduct->getLensvetRelated(NULL) #3 /home/l/lensvet/zavod-lensvet.ru/storage/modification/system/engine/loader.php(248): call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /home/l/lensvet/zavod-lensvet.ru/public_html/system/engine/proxy.php(47): call_user_func_array(Object(Closure), Array) #6 /home/l/lensvet/zavod-lensvet.ru/storage/modification/catalog/controller/product/product.php(898): Proxy->__call('getLensvetRelat...', Array) #7 [internal function]: ControllerProductProduct->index() #8 /home/l/lensvet/zavod-lensvet.ru/storage/modification/system/engine/action.php(79): call_user_func_array(Array, Array) #9 /home/l/lensvet/zavod-lensvet.ru/public_html/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #10 [internal function]: ControllerStartupRouter->index() #11 /home/l/lensvet/zavod-lensvet.ru/storage/modification/system/engine/action.php(79): call_user_func_array(Array, Array) #12 /home/l/lensvet/zavod-lensvet.ru/public_html/system/engine/router.php(67): Action->execute(Object(Registry)) #13 /home/l/lensvet/zavod-lensvet.ru/public_html/system/engine/router.php(56): Router->execute(Object(Action)) #14 /home/l/lensvet/zavod-lensvet.ru/public_html/system/framework.php(169): Router->dispatch(Object(Action), Object(Action)) #15 /home/l/lensvet/zavod-lensvet.ru/public_html/system/startup.php(104): require_once('/home/l/lensvet...') #16 /home/l/lensvet/zavod-lensvet.ru/public_html/index.php(26): start('catalog') #17 {main} thrown in /home/l/lensvet/zavod-lensvet.ru/storage/modification/system/library/db/mysqli.php on line 44