| ( ! ) Warning: PDO::query(): MySQL server has gone away in /var/www/html/classes/db/DbPDO.php on line 165 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 403272 | {main}( ) | .../index.php:0 |
| 2 | 0.0010 | 459728 | require( '/var/www/html/config/config.inc.php ) | .../index.php:27 |
| 3 | 4.0388 | 9121176 | ObjectModelCore->__construct( $id = '4', $id_lang = ???, $id_shop = ???, $translator = ??? ) | .../config.inc.php:200 |
| 4 | 4.0431 | 9126216 | PrestaShop\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 |
| 5 | 4.0433 | 9128344 | DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ) | .../EntityMapper.php:75 |
| 6 | 4.0434 | 9110912 | DbCore->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 |
| 7 | 4.0434 | 9110912 | DbPDOCore->_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 |
| 8 | 4.0434 | 9110912 | query( '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 | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 403272 | {main}( ) | .../index.php:0 |
| 2 | 0.0010 | 459728 | require( '/var/www/html/config/config.inc.php ) | .../index.php:27 |
| 3 | 4.0388 | 9121176 | ObjectModelCore->__construct( $id = '4', $id_lang = ???, $id_shop = ???, $translator = ??? ) | .../config.inc.php:200 |
| 4 | 4.0431 | 9126216 | PrestaShop\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 |
| 5 | 4.0433 | 9128344 | DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ) | .../EntityMapper.php:75 |
| 6 | 4.0434 | 9110912 | DbCore->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 |
| 7 | 4.0434 | 9110912 | DbPDOCore->_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 |
| 8 | 4.0434 | 9110912 | query( '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 | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 403272 | {main}( ) | .../index.php:0 |
| 2 | 0.0010 | 459728 | require( '/var/www/html/config/config.inc.php ) | .../index.php:27 |
| 3 | 4.0388 | 9121176 | ObjectModelCore->__construct( $id = '4', $id_lang = ???, $id_shop = ???, $translator = ??? ) | .../config.inc.php:200 |
| 4 | 4.0431 | 9126216 | PrestaShop\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 |
| 5 | 4.0433 | 9128344 | DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ) | .../EntityMapper.php:75 |
| 6 | 4.0434 | 9110912 | DbCore->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 |
| 7 | 8.5999 | 9112152 | DbPDOCore->connect( ) | .../Db.php:379 |