Fatal error: Uncaught exception 'Exception' with message '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 'AND pd.language_id = '1' AND p2s.store_id = '0' AND p.status = '1' LI' at line 5
Error No: 1064
SELECT date_modified FROM product p INNER JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.product_id = AND pd.language_id = '1' AND p2s.store_id = '0' AND p.status = '1' LIMIT 1' in /home/m/mvvrabpw/mebel-zevs.ru/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/m/mvvrabpw/mebel-zevs.ru/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT date_mod...', Array) #1 /home/m/mvvrabpw/mebel-zevs.ru/public_html/catalog/model/mp_lastmodified/last_modified.php(49): DB->query('SELECT date_mod...') #2 [internal function]: ModelMpLastmodifiedLastModified->getProductTime(false) #3 /home/m/m in /home/m/mvvrabpw/mebel-zevs.ru/public_html/system/library/db/mysqli.php on line 40