Elao / ErrorNotifierBundle

This bundle send you an email when an error appear (500 or 404 if enable)
59 stars 27 forks source link

Error in console command #72

Closed ickbinhier closed 7 years ago

ickbinhier commented 7 years ago

[Symfony\Component\Debug\Exception\FatalThrowableError] Type error: Argument 1 passed to Elao\ErrorNotifierBundle\Listener\Notifier::filterRequest() must be an instance of Symfony\Component\HttpFoundation\Request, null given, called in /var/www-aura/releases/606 /vendor/elao/error-notifier-bundle/Listener/Notifier.php on line 335

Exception trace: () at /var/www-aura/releases/606/vendor/elao/error-notifier-bundle/Listener/Notifier.php:373 Elao\ErrorNotifierBundle\Listener\Notifier->filterRequest() at /var/www-aura/releases/606/vendor/elao/error-notifier-bundle/Listener/Notifier.php:335 Elao\ErrorNotifierBundle\Listener\Notifier->createMailAndSend() at /var/www-aura/releases/606/vendor/elao/error-notifier-bundle/Listener/Notifier.php:153 Elao\ErrorNotifierBundle\Listener\Notifier->onConsoleException() at n/a:n/a call_user_func() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104 Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() at n/a:n/a call_user_func() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44 Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:146 Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:917 Symfony\Component\Console\Application->doRunCommand() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:224 Symfony\Component\Console\Application->doRun() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www-aura/releases/606/vendor/jms/job-queue-bundle/JMS/JobQueueBundle/Console/Application.php:45 JMS\JobQueueBundle\Console\Application->doRun() at /var/www-aura/releases/606/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:125 Symfony\Component\Console\Application->run() at /var/www-aura/releases/606/bin/console:28

karim-elshendy commented 7 years ago

I'm facing the same issue