( ! ) Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /var/www/prod/bodyone.fr/public/src/Adapter/EntityMapper.php on line 99
( ! ) TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /var/www/prod/bodyone.fr/public/src/Adapter/EntityMapper.php on line 99
Call Stack
#TimeMemoryFunctionLocation
10.0001434136{main}( ).../index.php:0
20.0001436552require( '/var/www/prod/bodyone.fr/public/config/config.inc.php ).../index.php:27
30.0013537944ShopCore::initialize( ).../config.inc.php:118
40.05747244656ShopCore->__construct( $id = '1', $id_lang = ???, $id_shop = ??? ).../Shop.php:411
50.05747244656ObjectModelCore->__construct( $id = '1', $id_lang = NULL, $id_shop = NULL, $translator = ??? ).../Shop.php:128
60.05777259440PrestaShop\PrestaShop\Adapter\EntityMapper->load( $id = '1', $id_lang = NULL, $entity = class Shop { public $id_shop_group = NULL; public $id_category = NULL; public $theme_name = NULL; public $name = NULL; public $active = TRUE; public $deleted = NULL; public $physical_uri = NULL; public $virtual_uri = NULL; public $domain = NULL; public $domain_ssl = NULL; protected $group = NULL; protected $webserviceParameters = ['fields' => [...]]; public $theme = NULL; public $id = 1; protected $id_lang = NULL; protected $id_shop = NULL; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'shop'; protected $identifier = 'id_shop'; protected $fieldsRequired = [0 => 'name', 1 => 'id_category', 2 => 'id_shop_group']; protected $fieldsSize = ['name' => 64]; protected $fieldsValidate = ['active' => 'isBool', 'deleted' => 'isBool', 'name' => 'isGenericName', 'theme_name' => 'isThemeName']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'shop', 'primary' => 'id_shop', 'fields' => [...], 'classname' => 'Shop']; protected $update_fields = NULL; public $force_id = FALSE }, $entity_defs = ['table' => 'shop', 'primary' => 'id_shop', 'fields' => ['active' => [...], 'deleted' => [...], 'name' => [...], 'id_category' => [...], 'theme_name' => [...], 'id_shop_group' => [...]], 'classname' => 'Shop'], $id_shop = NULL, $should_cache_objects = TRUE ).../ObjectModel.php:264
70.05817264040array_key_exists( $key = 'id_shop', $array = class Shop { public $id_shop_group = NULL; public $id_category = NULL; public $theme_name = NULL; public $name = NULL; public $active = TRUE; public $deleted = NULL; public $physical_uri = NULL; public $virtual_uri = NULL; public $domain = NULL; public $domain_ssl = NULL; protected $group = NULL; protected $webserviceParameters = ['fields' => [...]]; public $theme = NULL; public $id = 1; protected $id_lang = NULL; protected $id_shop = NULL; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'shop'; protected $identifier = 'id_shop'; protected $fieldsRequired = [0 => 'name', 1 => 'id_category', 2 => 'id_shop_group']; protected $fieldsSize = ['name' => 64]; protected $fieldsValidate = ['active' => 'isBool', 'deleted' => 'isBool', 'name' => 'isGenericName', 'theme_name' => 'isThemeName']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'shop', 'primary' => 'id_shop', 'fields' => [...], 'classname' => 'Shop']; protected $update_fields = NULL; public $force_id = FALSE } ).../EntityMapper.php:99