Notice: Undefined index: product_id in /home/prosan93/public_html/storage/modification/catalog/controller/startup/seo_url.php on line 251
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 'limit 1' at line 1<br />Error No: 1064<br />select category_id from oc_product_to_category where product_id= limit 1 in /home/prosan93/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/prosan93/public_html/storage/modification/system/library/db.php(61): DB\MySQLi->query('select category...') #1 /home/prosan93/public_html/storage/modification/catalog/controller/startup/seo_url.php(172): DB->query('select category...') #2 /home/prosan93/public_html/storage/modification/catalog/controller/startup/seo_url.php(215): ControllerStartupSeoUrl->getParent(NULL, 0, Array, 2) #3 /home/prosan93/public_html/storage/modification/catalog/controller/startup/seo_url.php(253): ControllerStartupSeoUrl->under(NULL) #4 /home/prosan93/public_html/system/library/url.php(64): ControllerStartupSeoUrl->rewrite('https://www.pro...') #5 /home/prosan93/public_html in /home/prosan93/public_html/system/library/db/mysqli.php on line 40