Query error:
SELECT v.*, v.option_value_id as option_value_id, d.option_title, p.meta_title_id as product_id
FROM options_value AS v
LEFT JOIN options_value_description AS d ON d.option_value_id = v.option_value_id
JOIN products_options_value AS po ON po.option_value_id = v.option_value_id
JOIN products_meta AS p ON (p.meta_title_id = po.option_product_id AND p.meta_key = AND p.meta_type = 'section')
WHERE v.option_id IN (13,14)
ORDER BY v.option_id, v.option_value_pr
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 p.meta_type = 'section')
WHERE v.option_id IN (13,14)
' at line 5: 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 p.meta_type = 'section')
WHERE v.option_id IN (13,14)
' at line 5