-
Notifications
You must be signed in to change notification settings - Fork 642
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
[3.x]: error: array_merge(): Expected parameter 1 to be an array, bool given
on craft update
#11538
Comments
error: array_merge(): Expected parameter 1 to be an array, bool given
on composer updateerror: array_merge(): Expected parameter 1 to be an array, bool given
on update
error: array_merge(): Expected parameter 1 to be an array, bool given
on updateerror: array_merge(): Expected parameter 1 to be an array, bool given
on craft update
Search for that error in |
Sorry for not being much clearer. After deleting the project, downloading it again from the repository, reset my MAMP, and I can now run But
And here is the stack trace:
|
What is |
This is the config:
|
Turns out that was a known Composer bug (composer/composer#10907) which was just fixed by Composer 2.2.15 three days ago 🎉 I’ve updated Craft’s internal copy of Composer to 2.2.15 for the next Craft 3 and 4 releases. |
Craft 3.7.47 and 4.1.1 are both out with that update. |
What happened?
Description
On update, I get this composer error:
error: array_merge(): Expected parameter 1 to be an array, bool given
This happens even if I try to update all, or if I try to update craft/plugins individually.
Running
composer update
doesn't get this error.Steps to reproduce
./craft update/update all
or click the Update button in the CPCraft CMS version
3.7.45.2
PHP version
7.4.25
Operating system and version
Mac OS 12.3.1
Database type and version
MySQL 5.7.34
Image driver and version
Imagick 3.4.4 (ImageMagick 6.9.6-2)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: