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) INNER JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE cd.language_id = '2' AND
c.sort_order <> '-1' 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 *\n ...', Array)
#1 system/vendor/BurnEngine/model/categoryModel.php(162): DB->query('SELECT *\n ...')
#2 system/vendor/BurnEngine/model/categoryModel.php(312): Theme_CategoryModel->getAllCategoriesGroupedByParent(2, 0, 1)
#3 system/vendor/BurnEngine/library/Engine.php(467): Theme_CategoryModel->buildCategoriesFlatTree(2)
#4 system/vendor/BurnEngine/model/categoryModel.php(305): TB_Engine->getCacheVar('category_flat_t...', Array, Array)
#5 system/vendor/BurnEngine/model/categoryModel.php(282): Theme_CategoryModel->getCategoriesFlatTree()
#6 system/vendor/BurnEngine/widget/AbstractProductsListingWidget.php(310): Theme_CategoryModel->getCategoryFromFlatTree(20)
#7 system/vendor/BurnEngine/widget/LatestProductsWidget.php(38): AbstractProductsListingWidget->getProductsListing(Array)
#8 system/vendor/BurnEngine/widget/AbstractProductsListingWidget.php(128): Theme_LatestProductsWidget->getProductsListing()
#9 system/vendor/BurnEngine/library/vendor/sfEventDispatcher.php(76): AbstractProductsListingWidget->setProductsOptions(Object(sfEvent))
#10 system/vendor/BurnEngine/catalog/ThemeCatalogExtension.php(126): sfEventDispatcher->notify(Object(sfEvent))
#11 system/vendor/BurnEngine/library/vendor/sfEventDispatcher.php(76): Theme_Catalog_Extension->afterRouting(Object(sfEvent))
#12 system/vendor/BurnEngine/library/CatalogDispatcher.php(116): sfEventDispatcher->notify(Object(sfEvent))
#13 system/vendor/BurnEngine/library/CatalogDispatcher.php(43): TB_CatalogDispatcher->doRouting(Object(sfEventDispatcher), Object(Request), Object(TB_ViewDataBag))
#14 system/vendor/BurnEngine/catalog/boot.php(58): TB_CatalogDispatcher->dispatch()
#15 catalog/controller/common/BurnEngine.php(70): TB_Boot::dispatchRequest(Object(TB_Engine))
#16 catalog/controller/common/BurnEngine.php(12): ControllerCommonBurnEngine->index()
#17 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): ControllerCommonBurnEngine->onGetEventsAfter('extension/event...', Array, Array)
#18 system/storage/modification/system/engine/event.php(26): Action->execute(Object(Registry), Array)
#19 vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(209): Event->trigger('model/extension...', Array)
#20 system/engine/proxy.php(25): Loader->{closure}(Array, Array)
#21 catalog/controller/startup/event.php(7): Proxy->__call('getEvents', Array)
#22 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): ControllerStartupEvent->index()
#23 system/storage/modification/system/engine/front.php(37): Action->execute(Object(Registry))
#24 system/storage/modification/system/engine/front.php(19): Front->execute(Object(Action))
#25 system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#26 vqmod/vqcache/vq2-system_startup.php(124): require_once('/var/www/vhosts...')
#27 index.php(23): start('catalog')
#28 {main}