Database error: Invalid SQL: SELECT count(*) as num_rows FROM product, product_category_xref, category WHERE product_category_xref.category_id='375d7c7130c71f3dc5240516e7e91252' AND category.category_id=product_category_xref.category_id AND product.product_id=product_category_xref.product_id AND product.product_parent_id='' AND product.product_publish='Y' AND category.category_publish='Y' AND (product.product_name LIKE '%d'Avenza%' OR product.product_sku LIKE '%d'Avenza%' OR product.product_s_desc LIKE '%d'Avenza%' OR category.category_name LIKE '%d'Avenza%' OR product.product_desc LIKE '%d'Avenza%' OR product.product_brand LIKE '%d'Avenza%') ORDER BY category.category_name, product_brand, product_name ASC
MySQL Error: 1064 (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 'Avenza%' OR product.product_sku LIKE '%d'Avenza%' OR product.product_s_desc LIKE' at line 2)