1064. Query Error 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 'Erbolario'
AND sfvv.feature_id = '1'
-- AND sp.category_id = '' at line 7
Query: SELECT sp.*
FROM shop_product as sp
JOIN shop_product_features as spf
ON sp.id = spf.product_id
JOIN shop_feature_values_varchar as sfvv
ON spf.feature_value_id = sfvv.id
WHERE sfvv.value = 'L'Erbolario'
AND sfvv.feature_id = '1'
-- AND sp.category_id = '20358'
AND sp.status = '1'
AND (sp.count > '0' OR sp.count IS NULL)
LIMIT 8