Cotya / magento-composer-installer

Composer installer for Magento modules
211 stars 77 forks source link

After Update - PHP Fatal error: Call to a member function getJob() #109

Closed nuzil closed 8 years ago

nuzil commented 8 years ago

Hello, After last update of magento-composer-installer, we are now getting this error when running

composer update

: PHP Fatal error: Call to a member function getJob() on a non-object in /home/dev/public_html/vendor/magento-hackathon/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Plugin.php on line 262

Fatal error: Call to a member function getJob() on a non-object in /home/dev/public_html/vendor/magento-hackathon/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Plugin.php on line 262

Somebody have an Idea?

Thanks a lot

razbakov commented 8 years ago

have the same error

razbakov commented 8 years ago

i've tried to use 3.0.6 version and i've got this error:

[Exception]
  Dont update the "magento-hackathon/magento-composer-installer" with active
  plugins.
  Consult the documentation on how to update the Installer
  https://github.com/Cotya/magento-composer-installer#update-the-installer
Flyingmana commented 8 years ago

yeah, I did some "experimental" changes on the main branch, it seems I use some parts,which change between composer versions.

The exception of @razbakov is self explaining, when having the installer installed, and you want to "update" or in this case, downgrade it, you are now forced to follow the documentation and disable plugins.