Warning: The console should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI Warning: Undefined variable $suluContext (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Warning: Undefined variable $suluContext

Exception

ErrorException

  1.     if (\class_exists(Debug::class)) {
  2.         Debug::enable();
  3.     }
  4. }
  5. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG'], $suluContext);
  6. $application = new Application($kernel);
  7. $application->run($input);

Stack Trace

ErrorException

ErrorException:
Warning: Undefined variable $suluContext

  at /home/lepronl/project/bk_monimmat.fr/bin/console.php:49