1064 - 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 'and c.categories_status = 1
and c.categories_id = cd.categories_id
' at line 10
-- includes/modules/k24_default.inc (Kategorien)
select c.categories_id,
cd.categories_name,
cd.categories_description,
c.sort_order,
c.active_products
from categories c,
categories_description cd
where c.parent_id =
and c.categories_status = 1
and c.categories_id = cd.categories_id
and cd.language_id = 2
order by sort_order, cd.categories_name
[SQL Error]