Good content takes time and effort to come up with.

Please consider supporting us by just disabling your AD BLOCKER and reloading this page again.

Debugging Laravel Queue Issues

Debugging Laravel Queue Email Issues

23rd May 2021 1 min read
Share On     Share On WhatsApp     Share On LinkedIn

I am assuming that you have deployed the Laravel application in production and using Supervisor to process the Queued Jobs.

Sometimes when you push the new Email Template then your new email settings or content won't be reflected.

To resolve this run the following commands

Clear Events

Sometimes the event will get cached and turns out a bit tricky to figure out.

php artisan event:clear

Broadcasting queue restart signal

php artisan queue:restart

Composer Dump Autoload

composer dump-autoload

Clearing Whole Application Cache

In Laravel 7 & above

php artisan optimize:clear

In Laravel 6 & below

php artisan cache:clear
php artisan route:clear
php artisan view:clear
php artisan config:clear

To learn more on using this is single command refer - Laravel Clear Cache Of Route, View, Config Command

Author Image

Channaveer Hakari

I am a full-stack developer working at WifiDabba India Pvt Ltd. I started this blog so that I can share my knowledge and enhance my skills with constant learning.

Never stop learning. If you stop learning, you stop growing