Fatal error: Uncaught Exception: Error: Query execution was interrupted<br />Error No: 1317<br />SELECT DISTINCT IF(cp.path_id IS NOT NULL, cp.path_id, ptc.category_id) as categ,COUNT(DISTINCT p.product_id) AS total FROM oc_product_to_category ptc INNER JOIN oc_product p ON (ptc.product_id = p.product_id) INNER JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_category_path cp ON (cp.category_id = ptc.category_id) INNER JOIN oc_category_to_store cts ON (cts.category_id = ptc.category_id) WHERE cts.store_id = '0' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.product_id IN (SELECT p2c2.product_id FROM oc_product_to_category p2c2 LEFT JOIN oc_category_path cp2 ON (p2c2.category_id = cp2.category_id) WHERE IF(cp2.path_id IS NOT NULL, cp2.path_id, ptc.category_id) IN (121,122)) GROUP BY IF(cp.path_id IS NOT NULL, cp.path_id, ptc.category_id) in /var/www/u2835257/data/www/lima-farm.ru/system/library/db/mysqli.php:48
Stack trace:
#0 /var/www/u2835257/data/www/lima-farm.r in /var/www/u2835257/data/www/lima-farm.ru/system/library/db/mysqli.php on line 48