6

I have installed new magento 2.2.2 version but when i run command php bin/magento setup:upgrade getting error Warning: array_replace_recursive(): recursion detected in vendor\magento\module-config\App\Config\Type\System.php on line 158

how can i solve that ?

4

I had the same issue but i tried with installing latest wamp an it is working fine now. It is issue with php version please upgrade php version with the latest one.

Here is my php configuration that i m using for my magento version 2.2.2

Apache 2.4.27
PHP 7.1.9
Mysql 5.7.19
Wamp 3.1.0

Screenshot

1

I resolved this temporary solution in magento 2.2.3 open file: /vendor/magento/module-config/App/Config/Type/System.php replace array_replace_recursive to @array_replace_recursive

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.