Fatal error: Uncaught Exception: Error: Out of resources when opening file './greta/oc_product_to_category.MYD' (Errcode: 24)<br />Error No: 23<br />SELECT IF(p.quantity > '0', 'in', 'out') AS value_id, 's' AS option_id, COUNT(DISTINCT p.product_id) AS total FROM oc_product p LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.status = '1' AND p2c.category_id = '254' GROUP BY value_id in /var/www/greta/data/www/sumkigreta.ru/sumkigreta/system/library/db/mysqli.php:45
Stack trace:
#0 /var/www/greta/data/www/sumkigreta.ru/sumkigreta/system/library/db.php(16): DB\MySQLi->query('SELECT IF(p.qua...', Array)
#1 /var/www/greta/data/www/sumkigreta.ru/sumkigreta/catalog/model/catalog/ocfilter.php(603): DB->query('SELECT IF(p.qua...')
#2 /var/www/greta/data/www/sumkigreta.ru/sumkigreta/system/storage/modification/system/engine/loader.php(181): ModelCatalogOCFilter->getCounters(Array)
#3 /var/www/greta/data/www/sumkigreta.ru/sumkigreta/system/engine/proxy.php(25): Loader->{closure}(Array, Array)
#4 /var/w in /var/www/greta/data/www/sumkigreta.ru/sumkigreta/system/library/db/mysqli.php on line 45