( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0058 | 363312 | {main}( ) | .../index.php:0 |
2 | 0.0077 | 366032 | require( '/var/www/admin/data/www/vseshop.com/config/config.inc.php ) | .../index.php:27 |
3 | 0.6296 | 2568704 | ShopCore->getGroup( ) | .../config.inc.php:171 |
4 | 5.0056 | 2597040 | ObjectModelCore->__construct( $id = 1, $id_lang = ???, $id_shop = ???, $translator = ??? ) | .../Shop.php:561 |
5 | 5.0056 | 2602064 | PrestaShop\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 |
6 | 5.0057 | 2603720 | DbCore->getRow( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $use_cache = ??? ) | .../EntityMapper.php:71 |
7 | 5.0057 | 2585976 | DbCore->query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ) | .../Db.php:664 |
8 | 5.0057 | 2585976 | DbPDOCore->_query( $sql = 'SELECT *\nFROM `ps_shop_group` a\nWHERE (a.`id_shop_group` = 1) LIMIT 1' ) | .../Db.php:377 |