If you using supervisor, please restart it (sudo supervisorctl reload) Then your problem was resolved :)
Jan 9, 2017
4
Level 1
Notification class cached?
Hi everyone,
I am using new Mail Notification feature from Laravel 5.3 (https://laravel.com/docs/5.3/notifications#mail-notifications)
And everything worked fine until now. I changed toMail function and deployed to production server. On local it works fine (mailtrap)
But on production it keeps using old version of MailMessage entity returned at toMail function and keeps sending old layout. I checked the code at server - it is the same as at local.
I executed these in terminal, but it didn't help:
composer dump-autoload
php artisan clear-compiled
php artisan cache:clear
php artisan view:clear
php artisan optimize
On production I am using mailgun.
Does anyone have any suggestions?
Level 1
9 likes
Please or to participate in this conversation.