( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/admin/data/www/vseshop.com/classes/db/DbPDO.php:149 Stack trace: #0 /var/www/admin/data/www/vseshop.com/classes/db/DbPDO.php(149): PDO->query() #1 /var/www/admin/data/www/vseshop.com/classes/db/Db.php(377): DbPDOCore->_query() #2 /var/www/admin/data/www/vseshop.com/classes/db/Db.php(664): DbCore->query() #3 /var/www/admin/data/www/vseshop.com/src/Adapter/EntityMapper.php(71): DbCore->getRow() #4 /var/www/admin/data/www/vseshop.com/classes/ObjectModel.php(283): PrestaShop\PrestaShop\Adapter\EntityMapper->load() #5 /var/www/admin/data/www/vseshop.com/classes/shop/Shop.php(561): ObjectModelCore->__construct() #6 /var/www/admin/data/www/vseshop.com/config/config.inc.php(171): ShopCore->getGroup() #7 /var/www/admin/data/www/vseshop.com/index.php(27): require('...') #8 {main} Next PrestaShopException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/admin/data/www/vseshop.com/classes/db/DbPDO.php on line 151
( ! ) PrestaShopException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/admin/data/www/vseshop.com/classes/db/DbPDO.php on line 151
Call Stack
#TimeMemoryFunctionLocation
10.0058363312{main}( ).../index.php:0
20.0077366032require( '/var/www/admin/data/www/vseshop.com/config/config.inc.php ).../index.php:27
30.62962568704ShopCore->getGroup( ).../config.inc.php:171
45.00562597040ObjectModelCore->__construct( $id = 1, $id_lang = ???, $id_shop = ???, $translator = ??? ).../Shop.php:561
55.00562602064PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = 1, $id_lang = NULL, $entity = class ShopGroup { public $id = NULL; protected $id_lang = NULL; protected $lang_associated = NULL; protected $id_shop = NULL; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'shop_group'; protected $identifier = 'id_shop_group'; protected $fieldsRequired = [0 => 'name']; protected $fieldsSize = ['name' => 64]; protected $fieldsValidate = ['name' => 'isGenericName', 'color' => 'isColor', 'share_customer' => 'isBool', 'share_order' => 'isBool', 'share_stock' => 'isBool', 'active' => 'isBool', 'deleted' => 'isBool']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $webserviceParameters = []; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'shop_group', 'primary' => 'id_shop_group', 'fields' => [...], 'classname' => 'ShopGroup']; protected $update_fields = NULL; public $force_id = FALSE; public $name = NULL; public $color = NULL; public $active = TRUE; public $share_customer = NULL; public $share_stock = NULL; public $share_order = NULL; public $deleted = NULL }, $entity_defs = ['table' => 'shop_group', 'primary' => 'id_shop_group', 'fields' => ['name' => [...], 'color' => [...], 'share_customer' => [...], 'share_order' => [...], 'share_stock' => [...], 'active' => [...], 'deleted' => [...]], 'classname' => 'ShopGroup'], $id_shop = NULL, $should_cache_objects = TRUE ).../ObjectModel.php:283
65.00572603720DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:71
75.00572585976DbCore->query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:664
85.00572585976DbPDOCore->_query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:377