Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Php Fatal error #15

Closed
mouazdk opened this issue May 12, 2020 · 0 comments
Closed

Php Fatal error #15

mouazdk opened this issue May 12, 2020 · 0 comments

Comments

@mouazdk
Copy link

mouazdk commented May 12, 2020

Hello i get that Error every time when i write that composer command :
`composer require mageplaza/magento-2-german-language-pack:dev-master

PHP Fatal error: Uncaught Error: Undefined class constant 'PRE_COMMAND_RUN' in /home/mouazvd/Sites/magento2/src/vendor/laminas/laminas-dependency-plugin/src/DependencyRewriterPlugin.php:63
Stack trace:
#0 /usr/share/php/Composer/EventDispatcher/EventDispatcher.php(378): Laminas\DependencyPlugin\DependencyRewriterPlugin::getSubscribedEvents()
#1 /usr/share/php/Composer/Plugin/PluginManager.php(239): Composer\EventDispatcher\EventDispatcher->addSubscriber()
#2 /usr/share/php/Composer/Plugin/PluginManager.php(205): Composer\Plugin\PluginManager->addPlugin()
#3 /usr/share/php/Composer/Plugin/PluginManager.php(261): Composer\Plugin\PluginManager->registerPackage()
#4 /usr/share/php/Composer/Plugin/PluginManager.php(76): Composer\Plugin\PluginManager->loadRepository()
#5 /usr/share/php/Composer/Factory.php(384): Composer\Plugin\PluginManager->loadInstalledPlugins()
#6 /usr/share/php/Composer/Factory.php(576): Composer\Factory->createComposer()
#7 /usr/share/php/Composer/Console/Application.php(338): Composer\Factory::create()
#8 /u in /home/mouazvd/Sites/magento2/src/vendor/laminas/laminas-dependency-plugin/src/DependencyRewriterPlugin.php on line 63

`
Is there any tricks to fix that issue?

@mouazdk mouazdk closed this as completed May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant