PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote() #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1529): Zend_Db_Adapter_Abstract->quoteInto() #6 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto() #7 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where() #8 /var/www/html/vendor/magento/framework/DB/Select.php(127): Zend_Db_Select->where() #9 /var/www/html/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1096): Magento\Framework\DB\Select->where() #10 /var/www/html/vendor/magento/module-catalog/Model/ResourceModel/Category.php(1082): Magento\Eav\Model\Entity\AbstractEntity->_getLoadRowSelect() #11 /var/www/html/vendor/magento/framework/Model/AbstractModel.php(540): Magento\Catalog\Model\ResourceModel\Category->load() #12 /var/www/html/generated/code/Magento/Catalog/Model/Category/Interceptor.php(1040): Magento\Framework\Model\AbstractModel->load() #13 /var/www/html/vendor/magento/module-catalog/Model/CategoryRepository.php(157): Magento\Catalog\Model\Category\Interceptor->load() #14 /var/www/html/vendor/magento/module-catalog/Model/Layer.php(202): Magento\Catalog\Model\CategoryRepository->get() #15 /var/www/html/vendor/magento/module-catalog/Model/Layer.php(143): Magento\Catalog\Model\Layer->getCurrentCategory() #16 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(481): Magento\Catalog\Model\Layer->getProductCollection() #17 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(121): Magento\Catalog\Block\Product\ListProduct->initializeProductCollection() #18 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(200): Magento\Catalog\Block\Product\ListProduct->_getProductCollection() #19 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1110): Magento\Catalog\Block\Product\ListProduct->_beforeToHtml() #20 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #21 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #22 /var/www/html/generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php(617): Magento\Framework\View\Element\AbstractBlock->toHtml() #23 /var/www/html/app/code/WeltPixel/GoogleTagManager/Block/Search.php(20): Magento\Catalog\Block\Product\ListProduct\Interceptor->toHtml() #24 [internal function]: WeltPixel\GoogleTagManager\Block\Search->getProductCollection() #25 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array() #26 /var/www/html/app/code/WeltPixel/GoogleTagManager/view/frontend/templates/search.phtml(5): Magento\Framework\View\TemplateEngine\Php->__call() #27 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/a...') #28 /var/www/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #29 /var/www/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView() #30 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #31 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #32 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #33 /var/www/html/app/code/WeltPixel/GoogleTagManager/Helper/Data.php(436): Magento\Framework\View\Element\AbstractBlock->toHtml() #34 /var/www/html/app/code/WeltPixel/GoogleTagManager/Helper/Data.php(340): WeltPixel\GoogleTagManager\Helper\Data->addSearchResultPageInformation() #35 /var/www/html/app/code/WeltPixel/GoogleTagManager/Plugin/ResponseHttp.php(31): WeltPixel\GoogleTagManager\Helper\Data->getDataLayerScript() #36 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): WeltPixel\GoogleTagManager\Plugin\ResponseHttp->beforeSendResponse() #37 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #38 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #39 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #40 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #41 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #42 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #43 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #44 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #45 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #46 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #47 /var/www/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #48 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote() #4 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1529): Zend_Db_Adapter_Abstract->quoteInto() #5 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto() #6 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where() #7 /var/www/html/vendor/magento/framework/DB/Select.php(127): Zend_Db_Select->where() #8 /var/www/html/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1096): Magento\Framework\DB\Select->where() #9 /var/www/html/vendor/magento/module-catalog/Model/ResourceModel/Category.php(1082): Magento\Eav\Model\Entity\AbstractEntity->_getLoadRowSelect() #10 /var/www/html/vendor/magento/framework/Model/AbstractModel.php(540): Magento\Catalog\Model\ResourceModel\Category->load() #11 /var/www/html/generated/code/Magento/Catalog/Model/Category/Interceptor.php(1040): Magento\Framework\Model\AbstractModel->load() #12 /var/www/html/vendor/magento/module-catalog/Model/CategoryRepository.php(157): Magento\Catalog\Model\Category\Interceptor->load() #13 /var/www/html/vendor/magento/module-catalog/Model/Layer.php(202): Magento\Catalog\Model\CategoryRepository->get() #14 /var/www/html/vendor/magento/module-catalog/Model/Layer.php(143): Magento\Catalog\Model\Layer->getCurrentCategory() #15 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(481): Magento\Catalog\Model\Layer->getProductCollection() #16 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(121): Magento\Catalog\Block\Product\ListProduct->initializeProductCollection() #17 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(200): Magento\Catalog\Block\Product\ListProduct->_getProductCollection() #18 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1110): Magento\Catalog\Block\Product\ListProduct->_beforeToHtml() #19 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #20 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #21 /var/www/html/generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php(617): Magento\Framework\View\Element\AbstractBlock->toHtml() #22 /var/www/html/app/code/WeltPixel/GoogleTagManager/Block/Search.php(20): Magento\Catalog\Block\Product\ListProduct\Interceptor->toHtml() #23 [internal function]: WeltPixel\GoogleTagManager\Block\Search->getProductCollection() #24 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array() #25 /var/www/html/app/code/WeltPixel/GoogleTagManager/view/frontend/templates/search.phtml(5): Magento\Framework\View\TemplateEngine\Php->__call() #26 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/a...') #27 /var/www/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #28 /var/www/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView() #29 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #30 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #31 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #32 /var/www/html/app/code/WeltPixel/GoogleTagManager/Helper/Data.php(436): Magento\Framework\View\Element\AbstractBlock->toHtml() #33 /var/www/html/app/code/WeltPixel/GoogleTagManager/Helper/Data.php(340): WeltPixel\GoogleTagManager\Helper\Data->addSearchResultPageInformation() #34 /var/www/html/app/code/WeltPixel/GoogleTagManager/Plugin/ResponseHttp.php(31): WeltPixel\GoogleTagManager\Helper\Data->getDataLayerScript() #35 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): WeltPixel\GoogleTagManager\Plugin\ResponseHttp->beforeSendResponse() #36 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #37 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #38 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #39 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #40 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #41 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #42 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #43 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #44 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #45 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #46 /var/www/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #47 {main}