When I run php artisan queue:work on my local server, everything works fine, but on my production server, all queued jobs/notifications/mails fail.
It shows this error for my failed jobs:
exception 'ErrorException' with message 'include(/var/www/addondomains/mutual.ecowas.int/vendor/composer/../laravel/framework/src/Illuminate/Mail/SendQueuedMailable.php): failed to open stream: No such file or directory' in /var/www/....../vendor/composer/ClassLoader.php:444
or
exception 'InvalidArgumentException' with message 'View [email] not found.' in /var/www/....../vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
If I change the queue_driver to SYNC, everything works fine. Otherwise, all fail.
Is there something I am missing?