Warning: PDO::query(): SSL: Connection reset by peer in /var/www/html/classes/db/DbPDO.php on line 151

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/classes/db/DbPDO.php:151 Stack trace: #0 /var/www/html/classes/db/DbPDO.php(151): PDO->query() #1 /var/www/html/classes/db/Db.php(377): DbPDOCore->_query() #2 /var/www/html/classes/db/Db.php(614): DbCore->query() #3 /var/www/html/classes/Hook.php(1326): DbCore->executeS() #4 /var/www/html/classes/Hook.php(225): HookCore::getAllHookIds() #5 /var/www/html/classes/Hook.php(851): HookCore::getIdByName() #6 /var/www/html/classes/Dispatcher.php(606): HookCore::exec() #7 /var/www/html/classes/Dispatcher.php(243): DispatcherCore->loadRoutes() #8 /var/www/html/classes/Dispatcher.php(201): DispatcherCore->__construct() #9 /var/www/html/index.php(28): DispatcherCore::getInstance() #10 {main} Next PrestaShopException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/classes/db/DbPDO.php:153 Stack trace: #0 /var/www/html/classes/db/Db.php(377): DbPDOCore->_query() #1 /var/www/html/classes/db/Db.php(614): DbCore->query() #2 /var/www/html/classes/Hook.php(1326): DbCore->executeS() #3 /var/www/html/classes/Hook.php(225): HookCore::getAllHookIds() #4 /var/www/html/classes/Hook.php(851): HookCore::getIdByName() #5 /var/www/html/classes/Dispatcher.php(606): HookCore::exec() #6 /var/www/html/classes/Dispatcher.php(243): DispatcherCore->loadRoutes() #7 /var/www/html/classes/Dispatcher.php(201): DispatcherCore->__construct() #8 /var/www/html/index.php(28): DispatcherCore::getInstance() #9 {main} thrown in /var/www/html/classes/db/DbPDO.php on line 153