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

array_merge(): Expected parameter 2 to be an array, bool given #131

Open
minemindmedia opened this issue Dec 21, 2021 · 0 comments
Open

Comments

@minemindmedia
Copy link

Unable to access admin page for multisite network.
Whoops throws this error:

[2021-12-21 21:03:34] development.ERROR: array_merge(): Expected parameter 2 to be an array, bool given {"userId":1,"exception":"[object] (ErrorException(code: 0): array_merge(): Expected parameter 2 to be an array, bool given at /srv/www/project.com/current/web/app/plugins/wp-migrate-db-pro/class/Common/Filesystem/Filesystem.php:1005)

The offending line:
$active_plugins = array_merge($active_plugins, $site_plugins);

I was able to bypass this with this for now:
$active_plugins = array_merge($active_plugins, array($site_plugins));

PHP 7.4.26
Migrate DB 2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant