Skip to content

composer-update

Auto Added by WPeMatico

Error when switch composer 1 to composer 2

PHP Fatal error: Declaration of MagentoComposerRootUpdatePluginPluginCommandsOverrideRequireCommand::execute(SymfonyComponentConsoleInputInputInterface $input, SymfonyComponentConsoleOutputOutputInterface $output) must be compatible with ComposerCommandRequireCommand::execute(SymfonyComponentConsoleInputInputInterface $input, SymfonyComponentConsoleOutputOutputInterface $output) i am using magento 2.4.3-p1 and composer 1, now when i update composer to 2 and run composer -v it gives me the… Read More »Error when switch composer 1 to composer 2

after upgrade magnento 2 version 2.3.4 to 2.4.6-p6

recently i was upgrade magento 2.4.3 to 2.4.6-p6 for upgrade i fired below cmd composer require magento/product-community-edition 2.4.6-p5 –no-update composer update –ignore-platform-reqs after install latest version when i run setup:upgrade it will throw error There is an error in /chroot/home/a77eba9d/28a6e11fee.nxcli.io/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php… Read More »after upgrade magnento 2 version 2.3.4 to 2.4.6-p6

Can’t use ‘bin/magento’ commands after running ‘composer update –ignore-platform-reqs’

I have magento running from https://github.com/markshust/docker-magento , everything is working fine, but when i run composer update –ignore-platform-reqs then all bin/magento commands stop working. Any ideas on what could be happening? and what would be the best solution? Deleting the… Read More »Can’t use ‘bin/magento’ commands after running ‘composer update –ignore-platform-reqs’