Closed classicalguss closed 4 years ago
Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We'll help you out and re-open this issue if so.
Thanks!
@classicalguss Did you find any solution to this problem ? I'm facing the exact same problem.
Thanks
@classicalguss Did you find any solution to this problem ? I'm facing the exact same problem.
Thanks
Our issue was that more than 1 queue from different servers and environments were accessing the same redis instance. So we had the same redis locally and on staging environments which was wrong. If you queued something locally and then tried to read it and serialize it from somewhere else, it'll result in this error for us. Hope you find your issue.
I had this problem. I had two Laravel applications sharing the same Redis instance in production.
I solved it by setting a unique' REDIS_PREFIX` for each application.
Description:
I am sending a simple email as per the documentation in Laravel 5.5
Customer is a user object with an email field. The code for Welcome email is the following
Here are the relevant env variables
The redis caching is otherwise working fine. The email gets sent sometimes, but most of the time the error is happening.
Steps To Reproduce:
Here is the complete error
Illuminate\Mail\SendQueuedMailable::handle(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "App\Mail\WelcomeMail" of the object you are trying to operate on was loaded before unserialize() gets called or provide an autoloader to load the class definition in /var/www/html/vendor/laravel/framework/src/Illuminate/Mail/SendQueuedMailable.php
Line: 52
I appreciate any help.