2 exception(s): Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] No such file or directory Exception #1 (PDOException): SQLSTATE[HY000] [2002] No such file or directory Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] No such file or directory
#1 Zend_Db_Adapter_Pdo_Mysql->_connect() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:410] #2 Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:583] #3 Magento\Framework\DB\Adapter\Pdo\Mysql->_query() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:621] #4 Magento\Framework\DB\Adapter\Pdo\Mysql->query() called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:828] #5 Zend_Db_Adapter_Abstract->fetchOne() called at [vendor/magento/module-catalog/Model/ResourceModel/Category.php:545] #6 Magento\Catalog\Model\ResourceModel\Category->checkId() called at [generated/code/Magento/Catalog/Model/ResourceModel/Category/Interceptor.php:115] #7 Magento\Catalog\Model\ResourceModel\Category\Interceptor->checkId() called at [vendor/magento/module-catalog/Model/Category.php:848] #8 Magento\Catalog\Model\Category->checkId() called at [generated/code/Magento/Catalog/Model/Category/Interceptor.php:336] #9 Magento\Catalog\Model\Category\Interceptor->checkId() called at [vendor/magento/module-catalog/Helper/Category.php:101] #10 Magento\Catalog\Helper\Category->getStoreCategories() called at [app/code/Smartwave/Megamenu/Helper/Data.php:57] #11 Smartwave\Megamenu\Helper\Data->getFirstLevelCategories() called at [app/code/Smartwave/Megamenu/view/frontend/templates/onepagecategory/category_list.phtml:18] #12 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:59] #13 Magento\Framework\View\TemplateEngine\Php->render() called at [vendor/magento/framework/View/Element/Template.php:271] #14 Magento\Framework\View\Element\Template->fetchView() called at [vendor/magento/framework/View/Element/Template.php:301] #15 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1097] #16 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1101] #17 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:671] #18 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557] #19 Magento\Framework\View\Layout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:533] #20 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #21 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #22 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #23 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:585] #24 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535] #25 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #26 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #27 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #28 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:585] #29 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535] #30 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #31 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #32 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #33 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:954] #34 Magento\Framework\View\Layout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58] #35 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #36 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #37 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:494] #38 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258] #39 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171] #40 Magento\Framework\View\Result\Layout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58] #41 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #42 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #43 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:130] #44 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141] #45 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #46 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #47 Magento\Framework\App\Bootstrap->run() called at [index.php:41]Exception #1 (PDOException): SQLSTATE[HY000] [2002] No such file or directory
#1 Zend_Db_Adapter_Pdo_Abstract->_connect() called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php:111] #2 Zend_Db_Adapter_Pdo_Mysql->_connect() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:410] #3 Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:583] #4 Magento\Framework\DB\Adapter\Pdo\Mysql->_query() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:621] #5 Magento\Framework\DB\Adapter\Pdo\Mysql->query() called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:828] #6 Zend_Db_Adapter_Abstract->fetchOne() called at [vendor/magento/module-catalog/Model/ResourceModel/Category.php:545] #7 Magento\Catalog\Model\ResourceModel\Category->checkId() called at [generated/code/Magento/Catalog/Model/ResourceModel/Category/Interceptor.php:115] #8 Magento\Catalog\Model\ResourceModel\Category\Interceptor->checkId() called at [vendor/magento/module-catalog/Model/Category.php:848] #9 Magento\Catalog\Model\Category->checkId() called at [generated/code/Magento/Catalog/Model/Category/Interceptor.php:336] #10 Magento\Catalog\Model\Category\Interceptor->checkId() called at [vendor/magento/module-catalog/Helper/Category.php:101] #11 Magento\Catalog\Helper\Category->getStoreCategories() called at [app/code/Smartwave/Megamenu/Helper/Data.php:57] #12 Smartwave\Megamenu\Helper\Data->getFirstLevelCategories() called at [app/code/Smartwave/Megamenu/view/frontend/templates/onepagecategory/category_list.phtml:18] #13 include() called at [vendor/magento/framework/View/TemplateEngine/Php.php:59] #14 Magento\Framework\View\TemplateEngine\Php->render() called at [vendor/magento/framework/View/Element/Template.php:271] #15 Magento\Framework\View\Element\Template->fetchView() called at [vendor/magento/framework/View/Element/Template.php:301] #16 Magento\Framework\View\Element\Template->_toHtml() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1097] #17 Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() called at [vendor/magento/framework/View/Element/AbstractBlock.php:1101] #18 Magento\Framework\View\Element\AbstractBlock->_loadCache() called at [vendor/magento/framework/View/Element/AbstractBlock.php:671] #19 Magento\Framework\View\Element\AbstractBlock->toHtml() called at [vendor/magento/framework/View/Layout.php:557] #20 Magento\Framework\View\Layout->_renderBlock() called at [vendor/magento/framework/View/Layout.php:533] #21 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #22 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #23 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #24 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:585] #25 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535] #26 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #27 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #28 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #29 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:585] #30 Magento\Framework\View\Layout->_renderContainer() called at [vendor/magento/framework/View/Layout.php:535] #31 Magento\Framework\View\Layout->renderNonCachedElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:206] #32 Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() called at [vendor/magento/framework/View/Layout.php:488] #33 Magento\Framework\View\Layout->renderElement() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:193] #34 Magento\Framework\View\Layout\Interceptor->renderElement() called at [vendor/magento/framework/View/Layout.php:954] #35 Magento\Framework\View\Layout->getOutput() called at [vendor/magento/framework/Interception/Interceptor.php:58] #36 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #37 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #38 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:494] #39 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:258] #40 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171] #41 Magento\Framework\View\Result\Layout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58] #42 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #43 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #44 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:130] #45 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:141] #46 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #47 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #48 Magento\Framework\App\Bootstrap->run() called at [index.php:41]