Fatal error: Uncaught exception 'ErrorException' 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 's%' ORDER BY pd.name' at line 7<br />Error No: 1064<br />SELECT p.product_id, pd.name, pd.description,
p.sku, p.upc, p.ean, p.jan, p.isbn, p.mpn, p.quantity, p.image, p.price, p.status,
ad.name as attribute_name, pa.text as attribute_value
FROM oc_attribute_description as ad
INNER JOIN oc_product_attribute as pa ON ad.attribute_id = pa.attribute_id
INNER JOIN oc_product_description as pd ON pd.product_id = pa.product_id
INNER JOIN oc_product as p ON p.product_id = pd.product_id WHERE ad.name = 'Издательство' AND pa.text LIKE '%Rubik's%' ORDER BY pd.name' in /var/www/clients/client2/web2/web/system/database/mysqli.php:40
Stack trace:
#0 /var/www/clients/client2/web2/web/vqmod/vqcache/vq2-system_library_db.php(20): DBMySQLi->query('SELECT p.produc...')
#1 / in /var/www/clients/client2/web2/web/system/database/mysqli.php on line 40