1

I am trying to run

php bin/magento setup:upgrade

but every time I am getting the below error.

Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for Magento\Setup\Mvc\Bootstrap\InitParamListener

The same error is also coming while running setup:di:compile. I have also run composer upgrade, but no success at all.

Amit Bera
  • 77,456
  • 20
  • 123
  • 237
Amrit Pal Singh
  • 1,616
  • 1
  • 15
  • 35
  • I am pretty sure that composer update does not run properly. Seems some code missing.Please try to re-run composer update again. – Amit Bera May 15 '18 at 07:45

1 Answers1

1

Please, try composer self-update and composer update after it.

Sanju
  • 555
  • 3
  • 13