Problem/Motivation
After I try to re-install the CMS with the commands, described in project page (delete database with ddev and then try to reinstall with UI), it throws the following error:
The website encountered an unexpected error. Try again later.
TypeError: array_merge(): Argument #2 must be of type array, string given in array_merge() (line 234 of /var/www/html/vendor/drupal/recipe_installer_kit/src/Hooks.php).
array_merge() (Line: 234)
Drupal\RecipeKit\Installer\Hooks::applyRecipes() (Line: 626)
install_run_task() (Line: 572)
install_run_tasks() (Line: 121)
install_drupal() (Line: 53)
Steps to reproduce
1. Install CMS
2. Empty database with ddev drush sql:drop --yes
3. Run ddev launch and visit website with browser
4. Follow the install steps
Important: When you install it with ddev (ddev drush site:install --yes) it works fine.
Comments
Comment #2
phenaproximaAh, I think I see the problem here. That's a genuine bug if you haven't selected any recipes on the first page of the installer. Moving to the appropriate project so I can fix it and tag a new release.
Comment #4
phenaproximaThis branch should fix it. Can you try testing with it? How to do that:
Then try reinstalling as per usual.
Once you've tested, you can revert the changes to composer.json:
If that fixes it for you, just mark this issue as "Reviewed and tested by the community" and I'll commit this bad boy and roll a new release right away.
Comment #5
jibla commented@phenaproxima
I have tested and works with this branch fine.
Comment #6
jibla commentedComment #7
phenaproximaComment #9
phenaproximaThanks for testing! Merged into 1.x, and tagging 1.0.0-alpha2 shortly.