( ! ) Warning: PDO::query(): MySQL server has gone away in /var/www/html/classes/db/DbPDO.php on line 165
Call Stack
#TimeMemoryFunctionLocation
10.0002403368{main}( ).../index.php:0
20.0012459824require( '/var/www/html/config/config.inc.php ).../index.php:27
33.61378837024ShopCore->getGroup( ).../config.inc.php:171
43.67058880040ObjectModelCore->__construct( $id = '1', $id_lang = ???, $id_shop = ???, $translator = ??? ).../Shop.php:549
53.70108885024PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '1', $id_lang = NULL, $entity = class ShopGroup { public $name = NULL; public $active = TRUE; public $share_customer = NULL; public $share_stock = NULL; public $share_order = NULL; public $deleted = NULL; public $id = NULL; protected $id_lang = 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', '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 }, $entity_defs = ['table' => 'shop_group', 'primary' => 'id_shop_group', 'fields' => ['name' => [...], 'share_customer' => [...], 'share_order' => [...], 'share_stock' => [...], 'active' => [...], 'deleted' => [...]], 'classname' => 'ShopGroup'], $id_shop = NULL, $should_cache_objects = TRUE ).../ObjectModel.php:264
63.70848886680DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:75
73.76968867888DbCore->query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:663
83.76968867888DbPDOCore->_query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:376
93.76968867888query( 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../DbPDO.php:165

( ! ) Warning: PDO::query(): Error reading result set's header in /var/www/html/classes/db/DbPDO.php on line 165
Call Stack
#TimeMemoryFunctionLocation
10.0002403368{main}( ).../index.php:0
20.0012459824require( '/var/www/html/config/config.inc.php ).../index.php:27
33.61378837024ShopCore->getGroup( ).../config.inc.php:171
43.67058880040ObjectModelCore->__construct( $id = '1', $id_lang = ???, $id_shop = ???, $translator = ??? ).../Shop.php:549
53.70108885024PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '1', $id_lang = NULL, $entity = class ShopGroup { public $name = NULL; public $active = TRUE; public $share_customer = NULL; public $share_stock = NULL; public $share_order = NULL; public $deleted = NULL; public $id = NULL; protected $id_lang = 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', '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 }, $entity_defs = ['table' => 'shop_group', 'primary' => 'id_shop_group', 'fields' => ['name' => [...], 'share_customer' => [...], 'share_order' => [...], 'share_stock' => [...], 'active' => [...], 'deleted' => [...]], 'classname' => 'ShopGroup'], $id_shop = NULL, $should_cache_objects = TRUE ).../ObjectModel.php:264
63.70848886680DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:75
73.76968867888DbCore->query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:663
83.76968867888DbPDOCore->_query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:376
93.76968867888query( 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../DbPDO.php:165

( ! ) Fatal error: Uncaught PrestaShopException: Link to database cannot be established: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/classes/db/DbPDO.php on line 136
( ! ) PrestaShopException: Link to database cannot be established: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/classes/db/DbPDO.php on line 136
Call Stack
#TimeMemoryFunctionLocation
10.0002403368{main}( ).../index.php:0
20.0012459824require( '/var/www/html/config/config.inc.php ).../index.php:27
33.61378837024ShopCore->getGroup( ).../config.inc.php:171
43.67058880040ObjectModelCore->__construct( $id = '1', $id_lang = ???, $id_shop = ???, $translator = ??? ).../Shop.php:549
53.70108885024PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '1', $id_lang = NULL, $entity = class ShopGroup { public $name = NULL; public $active = TRUE; public $share_customer = NULL; public $share_stock = NULL; public $share_order = NULL; public $deleted = NULL; public $id = NULL; protected $id_lang = 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', '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 }, $entity_defs = ['table' => 'shop_group', 'primary' => 'id_shop_group', 'fields' => ['name' => [...], 'share_customer' => [...], 'share_order' => [...], 'share_stock' => [...], 'active' => [...], 'deleted' => [...]], 'classname' => 'ShopGroup'], $id_shop = NULL, $should_cache_objects = TRUE ).../ObjectModel.php:264
63.70848886680DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:75
73.76968867888DbCore->query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ).../Db.php:663
87.96868869048DbPDOCore->connect( ).../Db.php:379