Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INNER JOIN oc_product p
ON pa_target.product_id = p.product_i...' at line 5<br />Error No: 1064<br />
SELECT DISTINCT TRIM(pa_target.text) AS value
FROM oc_product_attribute pa_target
INNER JOIN oc_product_to_category p2c
ON pa_target.product_id = p2c.product_id
INNER INNER JOIN oc_product p
ON pa_target.product_id = p.product_id
WHERE p2c.category_id IN (28)
AND pa_target.attribute_id = '26'
AND p.status = '1'
AND p.date_available <= NOW()
AND pa_target.text <> ''
ORDER BY value ASC in /home/vivahomecom/public_html/storage/modification/system/library/db/mysqli.php:43
Stack trace:
#0 /home/vivahomecom/public_html/storage/modification/system/library/db.php(55): DB\MySQLi->query(' in /home/vivahomecom/public_html/storage/modification/system/library/db/mysqli.php on line 43