Trying to update site from 2.4.6-p6 to 2.4.7 or 2.4.7-p1
:composer.phar require magento/product-community-edition=2.4.7 –no-update
:composer.phar update
Get the following err:
“Your requirements could not be resolved to an installable set of packages.
Problem 1
– symfony/process[v4.4.0, …, v4.4.10] require php ^7.1.3 -> your php version (8.2.21) does not satisfy that requirement.
– magento/magento2-functional-testing-framework[3.10.0, …, 3.12.0] require symfony/process ^4.4||^5.4 -> satisfiable by symfony/process[v4.4.0, …, v4.4.44, v5.4.0, …, v5.4.40].
– magento/magento2-functional-testing-framework[3.7.0, …, 3.9.0] require symfony/process ^4.4 -> satisfiable by symfony/process[v4.4.0, …, v4.4.44].
– You can only install one version of a package, so only one of these can be installed: symfony/process[2.0.4, …, v2.8.52, v3.0.0, …, v3.4.47, v4.0.0, …, v4.4.44, v5.0.0, …, v5.4.40, v6.0.0, …, v6.4.8, v7.0.0, …, v7.1.1].
– magento/product-community-edition 2.4.7 requires symfony/process ^6.4 -> satisfiable by symfony/process[v6.4.0, …, v6.4.8].
– magento/magento2-functional-testing-framework[3.0.0, …, 3.6.1] require php ^7.3 -> your php version (8.2.21) does not satisfy that requirement.
– Root composer.json requires magento/product-community-edition 2.4.7 -> satisfiable by magento/product-community-edition[2.4.7].
– Root composer.json requires magento/magento2-functional-testing-framework ^3.0 -> satisfiable by magento/magento2-functional-testing-framework[3.0.0, …, 3.12.0].
Use the option –with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.”
It seems that Symfony has v4.4 loaded & I can’t seem to persuade it to load v6.4.
I have tried using the option -W but still the same error.
If I run the newer version of the command
composer.phar require-commerce magento/product-community-edition=2.4.7-p1 –no-update
composer.phar update
I get a different error:
“PHP Fatal error: Declaration of MagentoComposerRootUpdatePluginPluginCommandsMageRootRequireCommand::execute(SymfonyComponentConsoleInputInputInterface $input, SymfonyComponentConsoleOutputOutputInterface $output) must be compatible with ComposerCommandRequireCommand::execute(SymfonyComponentConsoleInputInputInterface $input, SymfonyComponentConsoleOutputOutputInterface $output): int in /var/www/vhosts/**************/vendor/magento/composer-root-update-plugin/Plugin/Commands/MageRootRequireCommand.php on line 151
Fatal error: Declaration of MagentoComposerRootUpdatePluginPluginCommandsMageRootRequireCommand::execute(SymfonyComponentConsoleInputInputInterface $input, SymfonyComponentConsoleOutputOutputInterface $output) must be compatible with ComposerCommandRequireCommand::execute(SymfonyComponentConsoleInputInputInterface $input, SymfonyComponentConsoleOutputOutputInterface $output): int in /var/www/vhosts/**************/vendor/magento/composer-root-update-plugin/Plugin/Commands/MageRootRequireCommand.php on line 151″
I have tried running it with PHP 8, 8.1 & 8.2
Thanks for looking