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 ove.option_id = AND pop.product_id = 31 GROUP BY pop.option_value_id' at line 8<br />Error No: 1064<br />SELECT * FROM oc_new_product_option_price pop
LEFT JOIN oc_new_category_option_value ncov ON ( pop.option_value_id = ncov.option_value_id )
LEFT JOIN oc_option_value_description ovd ON ( pop.option_value_id = ovd.option_value_id )
LEFT JOIN oc_option_value ove ON ( pop.option_value_id = ove.option_value_id )
where
ncov.new_category_option_value_id = AND ove.option_id = AND pop.product_id = 31 GROUP BY pop.option_value_id' in C:\website\shop1.gxzhhr.com\system\library\db\mysqli.php:40
Stack trace:
#0 C:\website\shop1.gxzhhr.com\system\library\db.php(16): DB\MySQLi->query('SELECT * FROM ...', Array)
#1 C:\website\shop1.gxzhhr in C:\website\shop1.gxzhhr.com\system\library\db\mysqli.php on line 40