Whatever I try to run on my SSH-Server it displays the same error:

$ php bin/magento cron:install [--force]
PHP Fatal error:  Uncaught Error: Class 'Magento\Setup\Mvc\Bootstrap\InitParamListener' not found in /var/www/vhosts/myurl.de/httpdocs/neu/setup/config/application.config.php:29
Stack trace:
#0 /var/www/vhosts/myurl.de/httpdocs/neu/vendor/magento/framework/Console/Cli.php(72): require()
#1 /var/www/vhosts/myurl.de/httpdocs/neu/bin/magento(22): Magento\Framework\Console\Cli->__construct('Magento CLI')
#2 {main}
  thrown in /var/www/vhosts/myurl.de/httpdocs/neu/setup/config/application.config.php on line 29

I already tried to check the PHP files but I am a beginner at PHP... Does someone know a solution?

  • What you are trying to do? Means what you are perform? – Dhiren Vasoya Aug 14 at 10:26
  • I want to run this: bin/magento cron:install [--force] – user91013 Aug 14 at 10:37
  • Looks like the file could be missing, check if it exists. If it doesn't replace it. – Mark Rees Aug 15 at 8:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.