Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: array_merge_recursive(): Argument #2 is not an array #33173

Closed
eorganicmart opened this issue Oct 12, 2018 · 4 comments
Closed

Warning: array_merge_recursive(): Argument #2 is not an array #33173

eorganicmart opened this issue Oct 12, 2018 · 4 comments

Comments

@eorganicmart
Copy link

We are using Magento 2.2.5 and have the following error on the front end:
Exception: Warning: array_merge_recursive(): Argument #2 is not an array in /var/www/html/vendor/magento/framework/App/Config/Scope/Converter.php on line 48 in /var/www/html/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'array_merge_rec...', '/var/www/html/v...', 48, Array) #1 /var/www/html/vendor/magento/framework/App/Config/Scope/Converter.php(48): array_merge_recursive(Array, '') #2 /var/www/html/vendor/magento/framework/App/Config/Scope/Converter.php(23): Magento\Framework\App\Config\Scope\Converter->setArrayValue(Array, '', '') #3 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(94): Magento\Framework\App\Config\Scope\Converter->convert(Array) #4 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(63): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #5 /var/www/html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #6 /var/www/html/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #7 /var/www/html/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #8 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(292): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #9 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(191): Magento\Config\App\Config\Type\System->readData() #10 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(152): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #11 /var/www/html/vendor/magento/framework/App/Config.php(131): Magento\Config\App\Config\Type\System->get('default/web/sec...') #12 /var/www/html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get('system', 'default/web/sec...') #13 /var/www/html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('web/secure/use...', 'default', NULL) #14 /var/www/html/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #15 /var/www/html/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #16 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #17 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception{closure}() #18 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #19 /var/www/html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #20 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #21 /var/www/html/vendor/magento/framework/App/Bootstrap.php(261): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #22 /var/www/html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #23 {main}

We are in Developer mode.

Any help shall be appreciated

@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #3767 (Log: array_merge_recursive: Argument #2 is not an array), #1877 ( Warning: rename), #1876 (Warning: set_time_limit()), #7008 (v.6.0.1: Cron Job Warning with empty argument), and #3659 (LDAP warnings).

@phil-davis
Copy link
Contributor

@eorganicmart how is this related to ownCloud?

@eorganicmart
Copy link
Author

@eorganicmart how is this related to ownCloud?

It is not

@phil-davis
Copy link
Contributor

@eorganicmart then why have you posted an issue in the ownCloud core repo?
Closing, as I think this issue is posted in error.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants