Preconditions (*)
- Magento version: 2.4.5-p1
- tag: open source
- PHP: 8.1.2
- MySQL version: 8.1
- Nginx: 1.18
- OpenSearch: 2.4
- Ubuntu 22
- Composer 2
Steps to reproduce (*)
- Install all Magento prequisites according to the documentation.
- Configure php settings according to the prerequisites
Expected result (*)
- Magento should install smoothly without any error messages using composer
Actual result (*)
- bin/magento setup:install
–base-url=http://123.123.123.123/
–db-host=localhost
–db-name=magento
–db-user=magento
–db-password=“U274eeGzNCqKJ2LpvtS@329”
–admin-firstname=bob
–admin-lastname=smith
–admin-email=[email protected]
–admin-user=bob
–admin-password=example@123
–language=en_US
–currency=GBP
–timezone=Europe/London
–use-rewrites=1
here is the error:
array_merge(): Argument #2 must be of type array, string given#0 /var/www/html/setup/src/Magento/Setup/Model/ConfigModel.php(157): array_merge()
#1 /var/www/html/setup/src/Magento/Setup/Console/Command/InstallCommand.php(273): Magento\Setup\Model\ConfigModel->validate()
#2 /var/www/html/vendor/symfony/console/Command/Command.php(221): Magento\Setup\Console\Command\InstallCommand->initialize()
#3 /var/www/html/vendor/symfony/console/Application.php(1021): Symfony\Component\Console\Command\Command->run()
#4 /var/www/html/vendor/symfony/console/Application.php(275): Symfony\Component\Console\Application->doRunCommand()
#5 /var/www/html/vendor/magento/framework/Console/Cli.php(116): Symfony\Component\Console\Application->doRun()
#6 /var/www/html/vendor/symfony/console/Application.php(149): Magento\Framework\Console\Cli->doRun()
#7 /var/www/html/bin/magento(23): Symfony\Component\Console\Application->run()
please help