Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nenes25 committed Aug 12, 2023
1 parent a66a5b1 commit f292e9b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 37 deletions.
42 changes: 21 additions & 21 deletions COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@ Deprecated: AppKernel implements the Serializable interface, which is deprecated

Call Stack:
0.0001 403752 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0
0.0032 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.0037 805088 3. require_once('/home/herve/www/prestashop/versions/176/config/autoload.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:36
0.0766 3393704 4. Composer\Autoload\ClassLoader->loadClass($class = 'AppKernel') /home/herve/www/prestashop/versions/176/config/autoload.php:28
0.0766 3393704 5. Composer\Autoload\{closure:/home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:581-583}($file = '/home/herve/www/prestashop/versions/176/vendor/composer/../../app/AppKernel.php') /home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:433
0.0786 3413688 6. include('/home/herve/www/prestashop/versions/176/app/AppKernel.php') /home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:582
0.0033 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.0041 805088 3. require_once('/home/herve/www/prestashop/versions/176/config/autoload.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:36
0.0595 3393704 4. Composer\Autoload\ClassLoader->loadClass($class = 'AppKernel') /home/herve/www/prestashop/versions/176/config/autoload.php:28
0.0595 3393704 5. Composer\Autoload\{closure:/home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:581-583}($file = '/home/herve/www/prestashop/versions/176/vendor/composer/../../app/AppKernel.php') /home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:433
0.0612 3413688 6. include('/home/herve/www/prestashop/versions/176/app/AppKernel.php') /home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:582


Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/herve/www/prestashop/versions/176/config/bootstrap.php on line 89

Call Stack:
0.0001 403752 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0
0.0032 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.0932 4211024 3. require_once('/home/herve/www/prestashop/versions/176/config/bootstrap.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:57
0.1158 4428336 4. array_walk($array = ['database_host' => '127.0.0.1', 'database_port' => '', 'database_name' => 'prestashop_176', 'database_user' => 'root', 'database_password' => 'root', 'database_prefix' => 'ps_', 'database_engine' => 'InnoDB', 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => NULL, 'mailer_password' => NULL, 'secret' => '7hXRhvVGGL3ZDRoC4DJdnhnTa92mbaiTH3FRfsKp39827Bj9gvts47ZY', 'ps_caching' => 'CacheMemcache', 'ps_cache_enable' => FALSE, 'ps_creation_date' => '2020-06-19', 'locale' => 'fr-FR', 'use_debug_toolbar' => TRUE, 'cookie_key' => 'bFOnXsLguRx2izhkAC7H86tvwGCQ3HQbBZ0FfpyetnCxW2quuza2h834', 'cookie_iv' => 'ssc7ST4f', 'new_cookie_key' => 'def0000027ce6526f0fe67dc24f355a804b76f53d72928dec268764f0df964ee1eab7552f590986709f7954660dee8be1b000bdef9f08556e95dbade9f1e142a7575239a'], $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['&$param' => '<required>'] }) /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.1159 4428728 5. {closure:/home/herve/www/prestashop/versions/176/config/bootstrap.php:88-90}($param = NULL, 'mailer_user') /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.1159 4428728 6. str_replace($search = '%%', $replace = '%', $subject = NULL) /home/herve/www/prestashop/versions/176/config/bootstrap.php:89
0.0033 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.0769 4211024 3. require_once('/home/herve/www/prestashop/versions/176/config/bootstrap.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:57
0.0987 4428336 4. array_walk($array = ['database_host' => '127.0.0.1', 'database_port' => '', 'database_name' => 'prestashop_176', 'database_user' => 'root', 'database_password' => 'root', 'database_prefix' => 'ps_', 'database_engine' => 'InnoDB', 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => NULL, 'mailer_password' => NULL, 'secret' => '7hXRhvVGGL3ZDRoC4DJdnhnTa92mbaiTH3FRfsKp39827Bj9gvts47ZY', 'ps_caching' => 'CacheMemcache', 'ps_cache_enable' => FALSE, 'ps_creation_date' => '2020-06-19', 'locale' => 'fr-FR', 'use_debug_toolbar' => TRUE, 'cookie_key' => 'bFOnXsLguRx2izhkAC7H86tvwGCQ3HQbBZ0FfpyetnCxW2quuza2h834', 'cookie_iv' => 'ssc7ST4f', 'new_cookie_key' => 'def0000027ce6526f0fe67dc24f355a804b76f53d72928dec268764f0df964ee1eab7552f590986709f7954660dee8be1b000bdef9f08556e95dbade9f1e142a7575239a'], $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['&$param' => '<required>'] }) /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.0987 4428728 5. {closure:/home/herve/www/prestashop/versions/176/config/bootstrap.php:88-90}($param = NULL, 'mailer_user') /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.0987 4428728 6. str_replace($search = '%%', $replace = '%', $subject = NULL) /home/herve/www/prestashop/versions/176/config/bootstrap.php:89


Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/herve/www/prestashop/versions/176/config/bootstrap.php on line 89

Call Stack:
0.0001 403752 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0
0.0032 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.0932 4211024 3. require_once('/home/herve/www/prestashop/versions/176/config/bootstrap.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:57
0.1158 4428336 4. array_walk($array = ['database_host' => '127.0.0.1', 'database_port' => '', 'database_name' => 'prestashop_176', 'database_user' => 'root', 'database_password' => 'root', 'database_prefix' => 'ps_', 'database_engine' => 'InnoDB', 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => '', 'mailer_password' => NULL, 'secret' => '7hXRhvVGGL3ZDRoC4DJdnhnTa92mbaiTH3FRfsKp39827Bj9gvts47ZY', 'ps_caching' => 'CacheMemcache', 'ps_cache_enable' => FALSE, 'ps_creation_date' => '2020-06-19', 'locale' => 'fr-FR', 'use_debug_toolbar' => TRUE, 'cookie_key' => 'bFOnXsLguRx2izhkAC7H86tvwGCQ3HQbBZ0FfpyetnCxW2quuza2h834', 'cookie_iv' => 'ssc7ST4f', 'new_cookie_key' => 'def0000027ce6526f0fe67dc24f355a804b76f53d72928dec268764f0df964ee1eab7552f590986709f7954660dee8be1b000bdef9f08556e95dbade9f1e142a7575239a'], $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['&$param' => '<required>'] }) /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.1160 4428760 5. {closure:/home/herve/www/prestashop/versions/176/config/bootstrap.php:88-90}($param = NULL, 'mailer_password') /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.1160 4428760 6. str_replace($search = '%%', $replace = '%', $subject = NULL) /home/herve/www/prestashop/versions/176/config/bootstrap.php:89
0.0033 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.0769 4211024 3. require_once('/home/herve/www/prestashop/versions/176/config/bootstrap.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:57
0.0987 4428336 4. array_walk($array = ['database_host' => '127.0.0.1', 'database_port' => '', 'database_name' => 'prestashop_176', 'database_user' => 'root', 'database_password' => 'root', 'database_prefix' => 'ps_', 'database_engine' => 'InnoDB', 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => '', 'mailer_password' => NULL, 'secret' => '7hXRhvVGGL3ZDRoC4DJdnhnTa92mbaiTH3FRfsKp39827Bj9gvts47ZY', 'ps_caching' => 'CacheMemcache', 'ps_cache_enable' => FALSE, 'ps_creation_date' => '2020-06-19', 'locale' => 'fr-FR', 'use_debug_toolbar' => TRUE, 'cookie_key' => 'bFOnXsLguRx2izhkAC7H86tvwGCQ3HQbBZ0FfpyetnCxW2quuza2h834', 'cookie_iv' => 'ssc7ST4f', 'new_cookie_key' => 'def0000027ce6526f0fe67dc24f355a804b76f53d72928dec268764f0df964ee1eab7552f590986709f7954660dee8be1b000bdef9f08556e95dbade9f1e142a7575239a'], $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['&$param' => '<required>'] }) /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.0988 4428760 5. {closure:/home/herve/www/prestashop/versions/176/config/bootstrap.php:88-90}($param = NULL, 'mailer_password') /home/herve/www/prestashop/versions/176/config/bootstrap.php:90
0.0989 4428760 6. str_replace($search = '%%', $replace = '%', $subject = NULL) /home/herve/www/prestashop/versions/176/config/bootstrap.php:89


Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /home/herve/www/prestashop/versions/176/src/Adapter/EntityMapper.php on line 99
Expand All @@ -38,10 +38,10 @@ TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop

Call Stack:
0.0001 403752 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0
0.0032 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.1327 5768608 3. ShopCore::initialize() /home/herve/www/prestashop/versions/176/config/config.inc.php:119
0.1658 6670600 4. ShopCore->__construct($id = 1, $id_lang = ???, $id_shop = ???) /home/herve/www/prestashop/versions/176/classes/shop/Shop.php:393
0.1658 6670600 5. ObjectModelCore->__construct($id = 1, $id_lang = NULL, $id_shop = NULL, $translator = ???) /home/herve/www/prestashop/versions/176/classes/shop/Shop.php:128
0.1687 6755320 6. PrestaShop\PrestaShop\Adapter\EntityMapper->load($id = 1, $id_lang = NULL, $entity = class Shop { 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 $webserviceParameters = ['fields' => [...]]; 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; 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; public $theme = NULL }, $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) /home/herve/www/prestashop/versions/176/classes/ObjectModel.php:264
0.1695 6764904 7. array_key_exists($key = 'id_shop', $array = class Shop { 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 $webserviceParameters = ['fields' => [...]]; 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; 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; public $theme = NULL }) /home/herve/www/prestashop/versions/176/src/Adapter/EntityMapper.php:99
0.0033 749936 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35
0.1210 5768608 3. ShopCore::initialize() /home/herve/www/prestashop/versions/176/config/config.inc.php:119
0.1794 6670600 4. ShopCore->__construct($id = 1, $id_lang = ???, $id_shop = ???) /home/herve/www/prestashop/versions/176/classes/shop/Shop.php:393
0.1794 6670600 5. ObjectModelCore->__construct($id = 1, $id_lang = NULL, $id_shop = NULL, $translator = ???) /home/herve/www/prestashop/versions/176/classes/shop/Shop.php:128
0.1823 6755320 6. PrestaShop\PrestaShop\Adapter\EntityMapper->load($id = 1, $id_lang = NULL, $entity = class Shop { 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 $webserviceParameters = ['fields' => [...]]; 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; 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; public $theme = NULL }, $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) /home/herve/www/prestashop/versions/176/classes/ObjectModel.php:264
0.1833 6764904 7. array_key_exists($key = 'id_shop', $array = class Shop { 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 $webserviceParameters = ['fields' => [...]]; 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; 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; public $theme = NULL }) /home/herve/www/prestashop/versions/176/src/Adapter/EntityMapper.php:99

31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,22 @@ Compatibility
---

| PrestaShop Version | Compatible |
| ------------------ | -----------|
| 1.5.x | :x: |
| 1.6.x | :x: |
| 1.6.1.x | :heavy_check_mark: (some commands are not available)|
| 1.7.0 to 1.7.8.x | :heavy_check_mark: |

| Php Version | Compatible |
| ------ | -----------|
| 5.6 | :heavy_check_mark:|
| 7.0 | :heavy_check_mark: |
| 7.1 | :heavy_check_mark: |
| 7.2 | :heavy_check_mark: |
| 7.3| :heavy_check_mark: |
| 7.4 | :heavy_check_mark: |
| 8.0 | :interrobang: Not yet tested |
|--------------------| -----------|
| 1.6.x and under | :x: |
| 1.6.1.x | :heavy_check_mark: (some commands are not available)|
| 1.7.0 to 1.7.8.x | :heavy_check_mark: |
| 8+ | :interrobang: Not yet tested |

| Php Version | Compatible |
|-------------|------------------------------|
| 5.6 | :heavy_check_mark: |
| 7.0 | :heavy_check_mark: |
| 7.1 | :heavy_check_mark: |
| 7.2 | :heavy_check_mark: |
| 7.3 | :heavy_check_mark: |
| 7.4 | :heavy_check_mark: |
| 8.0 | :interrobang: Not yet tested |
| 8.1 | :interrobang: Not yet tested |

How to use it
---
Expand Down
2 changes: 1 addition & 1 deletion bin/phar/current.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2f3ed706ad064d0a5f1a6987a40e170cc8f84bfe
b6798c6245452bb73665bbc3b66359c32464a369
Binary file modified bin/prestashopConsole.phar
Binary file not shown.

0 comments on commit f292e9b

Please sign in to comment.