Fatal error: 'Error: Out of resources when opening file '/tmp/#sql_5ba3_0.MAI' (Errcode: 24 "Too many open files")
Error No: 23
SELECT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '137' AND cd.language_id = '2' AND c2s.store_id = '0' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name)
'
in /var/www/vhosts/drmacbookshop.com/httpdocs/system/library/db/mysqli.php:40
Stack trace:
#0 system/storage/modification/system/library/db.php(98): DB\MySQLi->query('SELECT * FROM o...', Array)
#1 system/storage/modification/catalog/model/catalog/category.php(17): DB->query('SELECT * FROM o...')
#2 vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(203): ModelCatalogCategory->getCategories(137)
#3 system/engine/proxy.php(25): Loader->{closure}(Array, Array)
#4 vqmod/vqcache/vq2-catalog_controller_product_category.php(153): Proxy->__call('getCategories', Array)
#5 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): ControllerProductCategory->index()
#6 catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#7 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): ControllerStartupRouter->index()
#8 system/storage/modification/system/engine/front.php(37): Action->execute(Object(Registry))
#9 system/storage/modification/system/engine/front.php(32): Front->execute(Object(Action))
#10 system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#11 vqmod/vqcache/vq2-system_startup.php(124): require_once('/var/www/vhosts...')
#12 index.php(23): start('catalog')
#13 {main}