( ! ) Warning: PDO::query(): MySQL server has gone away in /var/www/html/classes/db/DbPDO.php on line 165
Call Stack
#TimeMemoryFunctionLocation
10.0002403272{main}( ).../index.php:0
20.0010459728require( '/var/www/html/config/config.inc.php ).../index.php:27
34.03889121176ObjectModelCore->__construct( $id = '4', $id_lang = ???, $id_shop = ???, $translator = ??? ).../config.inc.php:200
44.04319126216PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '4', $id_lang = NULL, $entity = class Language { public $id = NULL; public $name = NULL; public $iso_code = NULL; public $locale = NULL; public $language_code = NULL; public $date_format_lite = 'Y-m-d'; public $date_format_full = 'Y-m-d H:i:s'; public $is_rtl = FALSE; public $active = TRUE; protected $webserviceParameters = ['objectNodeName' => 'language', 'objectsNodeName' => 'languages']; protected $translationsFilesAndVars = ['fields' => '_FIELDS', 'errors' => '_ERRORS', 'admin' => '_LANGADM', 'pdf' => '_LANGPDF', 'tabs' => 'tabs']; protected $id_lang = NULL; protected $id_shop = 1; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'lang'; protected $identifier = 'id_lang'; protected $fieldsRequired = [0 => 'name', 1 => 'iso_code', 2 => 'date_format_lite', 3 => 'date_format_full']; protected $fieldsSize = ['name' => 32, 'iso_code' => 2, 'locale' => 5, 'language_code' => 5, 'date_format_lite' => 32, 'date_format_full' => 32]; protected $fieldsValidate = ['name' => 'isGenericName', 'iso_code' => 'isLanguageIsoCode', 'locale' => 'isLocale', 'language_code' => 'isLanguageCode', 'active' => 'isBool', 'is_rtl' => 'isBool', 'date_format_lite' => 'isPhpDateFormat', 'date_format_full' => 'isPhpDateFormat']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'lang', 'primary' => 'id_lang', 'fields' => [...], 'classname' => 'Language']; protected $update_fields = NULL; public $force_id = FALSE }, $entity_defs = ['table' => 'lang', 'primary' => 'id_lang', 'fields' => ['name' => [...], 'iso_code' => [...], 'locale' => [...], 'language_code' => [...], 'active' => [...], 'is_rtl' => [...], 'date_format_lite' => [...], 'date_format_full' => [...]], 'classname' => 'Language'], $id_shop = 1, $should_cache_objects = TRUE ).../ObjectModel.php:264
54.04339128344DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:75
64.04349110912DbCore->query( $sql = 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) LIMIT 1' ).../Db.php:663
74.04349110912DbPDOCore->_query( $sql = 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) LIMIT 1' ).../Db.php:376
84.04349110912query( 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) 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.0002403272{main}( ).../index.php:0
20.0010459728require( '/var/www/html/config/config.inc.php ).../index.php:27
34.03889121176ObjectModelCore->__construct( $id = '4', $id_lang = ???, $id_shop = ???, $translator = ??? ).../config.inc.php:200
44.04319126216PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '4', $id_lang = NULL, $entity = class Language { public $id = NULL; public $name = NULL; public $iso_code = NULL; public $locale = NULL; public $language_code = NULL; public $date_format_lite = 'Y-m-d'; public $date_format_full = 'Y-m-d H:i:s'; public $is_rtl = FALSE; public $active = TRUE; protected $webserviceParameters = ['objectNodeName' => 'language', 'objectsNodeName' => 'languages']; protected $translationsFilesAndVars = ['fields' => '_FIELDS', 'errors' => '_ERRORS', 'admin' => '_LANGADM', 'pdf' => '_LANGPDF', 'tabs' => 'tabs']; protected $id_lang = NULL; protected $id_shop = 1; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'lang'; protected $identifier = 'id_lang'; protected $fieldsRequired = [0 => 'name', 1 => 'iso_code', 2 => 'date_format_lite', 3 => 'date_format_full']; protected $fieldsSize = ['name' => 32, 'iso_code' => 2, 'locale' => 5, 'language_code' => 5, 'date_format_lite' => 32, 'date_format_full' => 32]; protected $fieldsValidate = ['name' => 'isGenericName', 'iso_code' => 'isLanguageIsoCode', 'locale' => 'isLocale', 'language_code' => 'isLanguageCode', 'active' => 'isBool', 'is_rtl' => 'isBool', 'date_format_lite' => 'isPhpDateFormat', 'date_format_full' => 'isPhpDateFormat']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'lang', 'primary' => 'id_lang', 'fields' => [...], 'classname' => 'Language']; protected $update_fields = NULL; public $force_id = FALSE }, $entity_defs = ['table' => 'lang', 'primary' => 'id_lang', 'fields' => ['name' => [...], 'iso_code' => [...], 'locale' => [...], 'language_code' => [...], 'active' => [...], 'is_rtl' => [...], 'date_format_lite' => [...], 'date_format_full' => [...]], 'classname' => 'Language'], $id_shop = 1, $should_cache_objects = TRUE ).../ObjectModel.php:264
54.04339128344DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:75
64.04349110912DbCore->query( $sql = 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) LIMIT 1' ).../Db.php:663
74.04349110912DbPDOCore->_query( $sql = 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) LIMIT 1' ).../Db.php:376
84.04349110912query( 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) LIMIT 1' ).../DbPDO.php:165

( ! ) Fatal error: Uncaught PrestaShopException: Link to database cannot be established: SQLSTATE[HY000] [2006] MySQL server has gone away in /var/www/html/classes/db/DbPDO.php on line 136
( ! ) PrestaShopException: Link to database cannot be established: SQLSTATE[HY000] [2006] MySQL server has gone away in /var/www/html/classes/db/DbPDO.php on line 136
Call Stack
#TimeMemoryFunctionLocation
10.0002403272{main}( ).../index.php:0
20.0010459728require( '/var/www/html/config/config.inc.php ).../index.php:27
34.03889121176ObjectModelCore->__construct( $id = '4', $id_lang = ???, $id_shop = ???, $translator = ??? ).../config.inc.php:200
44.04319126216PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '4', $id_lang = NULL, $entity = class Language { public $id = NULL; public $name = NULL; public $iso_code = NULL; public $locale = NULL; public $language_code = NULL; public $date_format_lite = 'Y-m-d'; public $date_format_full = 'Y-m-d H:i:s'; public $is_rtl = FALSE; public $active = TRUE; protected $webserviceParameters = ['objectNodeName' => 'language', 'objectsNodeName' => 'languages']; protected $translationsFilesAndVars = ['fields' => '_FIELDS', 'errors' => '_ERRORS', 'admin' => '_LANGADM', 'pdf' => '_LANGPDF', 'tabs' => 'tabs']; protected $id_lang = NULL; protected $id_shop = 1; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'lang'; protected $identifier = 'id_lang'; protected $fieldsRequired = [0 => 'name', 1 => 'iso_code', 2 => 'date_format_lite', 3 => 'date_format_full']; protected $fieldsSize = ['name' => 32, 'iso_code' => 2, 'locale' => 5, 'language_code' => 5, 'date_format_lite' => 32, 'date_format_full' => 32]; protected $fieldsValidate = ['name' => 'isGenericName', 'iso_code' => 'isLanguageIsoCode', 'locale' => 'isLocale', 'language_code' => 'isLanguageCode', 'active' => 'isBool', 'is_rtl' => 'isBool', 'date_format_lite' => 'isPhpDateFormat', 'date_format_full' => 'isPhpDateFormat']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'lang', 'primary' => 'id_lang', 'fields' => [...], 'classname' => 'Language']; protected $update_fields = NULL; public $force_id = FALSE }, $entity_defs = ['table' => 'lang', 'primary' => 'id_lang', 'fields' => ['name' => [...], 'iso_code' => [...], 'locale' => [...], 'language_code' => [...], 'active' => [...], 'is_rtl' => [...], 'date_format_lite' => [...], 'date_format_full' => [...]], 'classname' => 'Language'], $id_shop = 1, $should_cache_objects = TRUE ).../ObjectModel.php:264
54.04339128344DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ).../EntityMapper.php:75
64.04349110912DbCore->query( $sql = 'SELECT *\nFROM `ps_lang` a\nLEFT JOIN `ps_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1\nWHERE (a.`id_lang` = 4) LIMIT 1' ).../Db.php:663
78.59999112152DbPDOCore->connect( ).../Db.php:379