When I send a job that fails due to an exception such as 'ErrorException' with message 'Undefined variable: sender'
and I fix the code and re-fire the event, the previous code runs again and I get the same error.
I have no idea why Laravel re-runs my old code over and over. I'd obviously like to be able to fix the mistakes that are breaking my job execution.
I've tried both composer dump-autoload
and php artisan queue:flush
and those have no effect. Any help?