-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Issue present in 3.0.0-alpha4. Happens when running vendor/bin/oxid fix:states -a. The diff function gets multidimensional arrays like this to compare:
[
'vendor/module' =>
[
'something' => 'SomeNamespace\\SomeClass',
],
];Then the function array_diff_assoc basically takes ['something' => 'SomeNamespace\\SomeClass'] and casts it to a string according to:
https://www.php.net/manual/en/function.array-diff-assoc.php#refsect1-function.array-diff-assoc-notes
Notice: Array to string conversion in /var/www/oxideshop/vendor/oxid-community/moduleinternals/Core/ModuleStateFixer.php on line 373
Call Stack:
0.0003 351720 1. {main}() /var/www/oxideshop/vendor/oxid-professional-services/oxid-console/bin/oxid:0
0.0083 434568 2. OxidProfessionalServices\OxidConsole\Core\Application->run() /var/www/oxideshop/vendor/oxid-professional-services/oxid-console/bin/oxid:39
0.0182 613632 3. OxidProfessionalServices\OxidConsole\Core\Application->doRun() /var/www/oxideshop/vendor/symfony/console/Application.php:117
0.1721 4671056 4. OxidProfessionalServices\OxidConsole\Core\Application->doRun() /var/www/oxideshop/vendor/oxid-professional-services/oxid-console/src/Core/Application.php:80
0.1723 4671056 5. OxidProfessionalServices\OxidConsole\Core\Application->doRunCommand() /var/www/oxideshop/vendor/symfony/console/Application.php:185
0.1724 4674040 6. OxidProfessionalServices\OxidConsole\Core\Application->doRunCommand() /var/www/oxideshop/vendor/oxid-professional-services/oxid-console/src/Core/Application.php:149
0.1725 4674040 7. OxidCommunity\ModuleInternals\Command\ModuleFixCommand->run() /var/www/oxideshop/vendor/symfony/console/Application.php:835
0.1726 4676784 8. OxidCommunity\ModuleInternals\Command\ModuleFixCommand->execute() /var/www/oxideshop/vendor/symfony/console/Command/Command.php:245
0.4874 8163840 9. OxidCommunity\ModuleInternals\Command\ModuleFixCommand->executeForShop() /var/www/oxideshop/vendor/oxid-community/moduleinternals/Command/ModuleFixCommand.php:78
0.4874 8165192 10. OxidCommunity\ModuleInternals\Core\ModuleStateFixer->cleanUp() /var/www/oxideshop/vendor/oxid-community/moduleinternals/Command/ModuleFixCommand.php:115
0.5054 8400352 11. OxidCommunity\ModuleInternals\Core\ModuleStateFixer->cleanUpControllers() /var/www/oxideshop/vendor/oxid-community/moduleinternals/Core/ModuleStateFixer.php:145
0.5055 8402424 12. OxidCommunity\ModuleInternals\Core\ModuleStateFixer->diff() /var/www/oxideshop/vendor/oxid-community/moduleinternals/Core/ModuleStateFixer.php:526
0.5075 8402480 13. array_diff_assoc() /var/www/oxideshop/vendor/oxid-community/moduleinternals/Core/ModuleStateFixer.php:373