You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many Magento 1.9.X sites use composer and n98-magerun to manage their installations.
There is some conflict with the symfony framework using the latest php7.3 compatible magerun.
We get the following from n98-magerun:
PHP Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Console\Command\HelpCommand::isHidden() in /var/www/magento/vendor/symfony/console/Descriptor/ApplicationDescription.php:108
Stack trace:
If rename the symfony folder loaded by compose-installer then the problem goes away. I can only assume that both composer-installer and magerun are using incompatible versions and the compose-installer Symfony version is already loaded thus magerun gets the wrong version.
The text was updated successfully, but these errors were encountered:
I encountered the same issue. Also, when I upgraded to the latest version of the Magento Composer Installer with all of its dependencies, most importantly Symfony Console 5, I got another error related to Symfony Console:
PHP Fatal error: Class 'Symfony\Contracts\EventDispatcher\Event' not found in /path/to/magento/vendor/symfony/console/Event/ConsoleEvent.php on line 24
Many Magento 1.9.X sites use composer and n98-magerun to manage their installations.
There is some conflict with the symfony framework using the latest php7.3 compatible magerun.
We get the following from n98-magerun:
PHP Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Console\Command\HelpCommand::isHidden() in /var/www/magento/vendor/symfony/console/Descriptor/ApplicationDescription.php:108
Stack trace:
If rename the symfony folder loaded by compose-installer then the problem goes away. I can only assume that both composer-installer and magerun are using incompatible versions and the compose-installer Symfony version is already loaded thus magerun gets the wrong version.
The text was updated successfully, but these errors were encountered: