Description
Hello, im trying to configure the pipeline system of Magento 2.4.
In the production system, the last step, i do the next commands:
/usr/local/bin/php bin/magento app:config:import
/usr/local/bin/php bin/magento setup:upgrade --keep-generated
As the documentation says. The problem, is when import the config.php file, i get the next error:
looking at the code:
The $time variable, get null from function: $this->getData('groups/productalert_cron/fields/time/value');
I changed the code so that if it is null, I left a zero as the value.
Then i try again, and now get the next error:
When i saw that error is a warning, i try to disable error_reporting in app/bootstrap.php:
//error_reporting(E_ALL);
and now, the import works fine.
I don't understand why I get these errors, caused by the values returned by the functions, which are null.
I checked my database and config.php file, if I have the requested value:
now i have the doubt if avoiding error_reporting works fine the import function.
Reggards.
Additional Information
- steps to reproduce with additional details app:config:import stop when retrieve a warning or notice on php code #31428 (comment)
- steps used for confirmation app:config:import stop when retrieve a warning or notice on php code #31428 (comment)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status