Fatal error: Uncaught exception 'Exception' with message 'Error: Query execution was interrupted<br />Error No: 1317<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND (SELECT SUM(quantity) AS quantity FROM oc_product_to_warehouse ptw WHERE ptw.product_id = p.product_id ) = '0'' in /var/www/u0977273/data/www/re-bus.ru/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/u0977273/data/www/re-bus.ru/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(DI...') #1 /var/www/u0977273/data/www/re-bus.ru/catalog/model/catalog/product.php(1104): DB->query('SELECT COUNT(DI...') #2 [internal function]: ModelCatalogProduct->getTotalProducts_Filter(Array, Array) #3 /var/www/u0977273/data/www/re-bus.ru/storage/modification/system/engine/loader.php(248): call_user_func_arra in /var/www/u0977273/data/www/re-bus.ru/system/library/db/mysqli.php on line 40