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<br />Error No: 1064<br />SELECT date_modified FROM oc_product p
INNER JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_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/eriby/public_html/system/library/db/mysqli.php:45
Stack trace:
#0 /home/eriby/public_html/system/library/db.php(21): DB\MySQLi->query('SELECT date_mod...', Array)
#1 /home/eriby/public_html/catalog/model/mp_lastmodified/last_modified.php(49): DB->query('SELECT date_mod...')
#2 [internal function]: ModelMpLastmodifiedLastModified->getProductTime(false)
#3 /home/eriby/public_html/system/storage/modification/syste in /home/eriby/public_html/system/library/db/mysqli.php on line 45