You are here:

SQL Error [256] (1064) 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 upper(type) <> 'IMAGE'' at line 1

Query : SELECT * FROM product_assets WHERE product_id = AND upper(type) <> 'IMAGE'

On line 1533 in file /index.php , PHP 5.6.37 (Linux)