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-review/Model/ResourceModel/Review/Summary.php(99): Magento\Framework\DB\Select->where() #10 /var/www/html/vendor/magento/module-review/Observer/CatalogProductListCollectionAppendSummaryFieldsObserver.php(57): Magento\Review\Model\ResourceModel\Review\Summary->appendSummaryFieldsToCollection() #11 /var/www/html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): Magento\Review\Observer\CatalogProductListCollectionAppendSummaryFieldsObserver->execute() #12 /var/www/html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod() #13 /var/www/html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch() #14 /var/www/html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch() #15 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(491): Magento\Framework\Event\Manager\Proxy->dispatch() #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} 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-review/Model/ResourceModel/Review/Summary.php(99): Magento\Framework\DB\Select->where() #9 /var/www/html/vendor/magento/module-review/Observer/CatalogProductListCollectionAppendSummaryFieldsObserver.php(57): Magento\Review\Model\ResourceModel\Review\Summary->appendSummaryFieldsToCollection() #10 /var/www/html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): Magento\Review\Observer\CatalogProductListCollectionAppendSummaryFieldsObserver->execute() #11 /var/www/html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod() #12 /var/www/html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch() #13 /var/www/html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch() #14 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(491): Magento\Framework\Event\Manager\Proxy->dispatch() #15 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(121): Magento\Catalog\Block\Product\ListProduct->initializeProductCollection() #16 /var/www/html/vendor/magento/module-catalog/Block/Product/ListProduct.php(200): Magento\Catalog\Block\Product\ListProduct->_getProductCollection() #17 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1110): Magento\Catalog\Block\Product\ListProduct->_beforeToHtml() #18 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #19 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #20 /var/www/html/generated/code/Magento/Catalog/Block/Product/ListProduct/Interceptor.php(617): Magento\Framework\View\Element\AbstractBlock->toHtml() #21 /var/www/html/app/code/WeltPixel/GoogleTagManager/Block/Search.php(20): Magento\Catalog\Block\Product\ListProduct\Interceptor->toHtml() #22 [internal function]: WeltPixel\GoogleTagManager\Block\Search->getProductCollection() #23 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array() #24 /var/www/html/app/code/WeltPixel/GoogleTagManager/view/frontend/templates/search.phtml(5): Magento\Framework\View\TemplateEngine\Php->__call() #25 /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/var/www/html/a...') #26 /var/www/html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #27 /var/www/html/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView() #28 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #29 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #30 /var/www/html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #31 /var/www/html/app/code/WeltPixel/GoogleTagManager/Helper/Data.php(436): Magento\Framework\View\Element\AbstractBlock->toHtml() #32 /var/www/html/app/code/WeltPixel/GoogleTagManager/Helper/Data.php(340): WeltPixel\GoogleTagManager\Helper\Data->addSearchResultPageInformation() #33 /var/www/html/app/code/WeltPixel/GoogleTagManager/Plugin/ResponseHttp.php(31): WeltPixel\GoogleTagManager\Helper\Data->getDataLayerScript() #34 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): WeltPixel\GoogleTagManager\Plugin\ResponseHttp->beforeSendResponse() #35 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #36 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #37 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #38 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #39 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #40 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #41 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #42 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #43 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #44 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #45 /var/www/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #46 {main}