Fix deprecated and warning messages while setting error level = E_ALL :
E_DEPRECATED: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/core/class/system.class.php on line 57
E_DEPRECATED: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/www/html/core/class/cron.class.php on line 554
E_DEPRECATED: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/www/html/core/class/utils.class.php on line 186
PHP Error: Cannot use object of type stdClass as array in /var/www/html/core/class/system.class.php on line 423
PHP Stack trace:
PHP 1. {main}() /var/www/html/core/php/jeeCron.php:0
PHP 2. plugin::checkDeamon() /var/www/html/core/php/jeeCron.php:78
PHP 3. plugin->dependancy_info($_refresh = uninitialized) /var/www/html/core/class/plugin.class.php:583
PHP 4. system::checkAndInstall($_packages = ['composer' => ['phpseclib/phpseclib' => [...]]], $_fix = FALSE, $_foreground = FALSE, $_plugin = 'Monitoring', $_force = uninitialized) /var/www/html/core/class/plugin.class.php:674
PHP 5. system::getInstallPackage($_type = 'composer', $_plugin = 'Monitoring') /var/www/html/core/class/system.class.php:461
Description
Fix deprecated and warning messages while setting error level = E_ALL :
PHP Error: Cannot use object of type stdClass as array in /var/www/html/core/class/system.class.php on line 423 PHP Stack trace: PHP 1. {main}() /var/www/html/core/php/jeeCron.php:0 PHP 2. plugin::checkDeamon() /var/www/html/core/php/jeeCron.php:78 PHP 3. plugin->dependancy_info($_refresh = uninitialized) /var/www/html/core/class/plugin.class.php:583 PHP 4. system::checkAndInstall($_packages = ['composer' => ['phpseclib/phpseclib' => [...]]], $_fix = FALSE, $_foreground = FALSE, $_plugin = 'Monitoring', $_force = uninitialized) /var/www/html/core/class/plugin.class.php:674 PHP 5. system::getInstallPackage($_type = 'composer', $_plugin = 'Monitoring') /var/www/html/core/class/system.class.php:461
Suggested changelog entry
Related issues/external references
Fixes #2678
Types of changes
PR checklist