Fatal error: Uncaught Exception: 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 'UNION ALL SELECT c.category_id, cd2.name AS title, CONCAT(cp.name, '>' at line 7<br />Error No: 1064<br />WITH RECURSIVE category_path (category_id, title, name) AS ( SELECT c1.category_id, cd.name AS title, cd.name AS name FROM oc_category c1 INNER JOIN oc_category_description cd ON (cd.category_id = c1.category_id) AND cd.language_id = '1' WHERE c1.parent_id = 0 and c1.status = UNION ALL SELECT c.category_id, cd2.name AS title, CONCAT(cp.name, '>', cd2.name) FROM category_path AS cp JOIN oc_category AS c ON cp.category_id = c.parent_id JOIN oc_category_description cd2 ON (cd2.category_id = c.category_id) AND cd2.language_id = '1' WHERE c.status = ) SELECT in /montagem/sdb1/marle04888/public_html/system/database/mysqliclass.php on line 46