Notice: Error: Can't find record in 'product_option_value'
Error No: 1032
SELECT DISTINCT ovd.option_value_id, ovd.*, od.name as 'option_name', ov.image FROM `option_value_description` ovd LEFT JOIN option_value ov ON(ovd.option_value_id=ov.option_value_id) LEFT JOIN option_description od ON(ov.option_id=od.option_id) LEFT JOIN `option` o ON(ov.option_id=o.option_id) LEFT JOIN product_option_value pov ON(ovd.`option_value_id`=pov.`option_value_id`) LEFT JOIN product p ON(pov.product_id = p.product_id) LEFT JOIN product_to_category p2c ON(p.product_id = p2c.product_id) LEFT JOIN product_to_store p2s ON(p.product_id=p2s.product_id) WHERE ovd.language_id = '1' AND od.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id =0 AND p2c.category_id = '77' ORDER BY o.sort_order, ov.sort_order, ovd.option_id in /home/elena17/web/elenapokalitsina.com.ua/public_html/system/database/mysql.php on line 71