Query failed: SELECT
c.name,c.slug
FROM
stores s
LEFT JOIN
categories_stores cs ON cs.store_id = s.id
LEFT JOIN
categories c ON cs.category_id = c.id
WHERE
s.id = ;
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 '' at line 10