Hi, I've just come across the same issue in 5.4 on Forge and Envoyer. Did you find a solution?
Dec 15, 2016
6
Level 1
Running Queue jobs returns: ReflectionException: Method __PHP_Incomplete_Class::handle() does not exist
Hi everyone,
I deploy with Forge and Envoyer in Laravel 5.3.
I run my queue with the database driver, so i have a table with my jobs.
I have created an empty test class with :
php artisan make:job SendUserWelcomeEmail
The job works and gets run locally but after i deploy, i get the error when the job fires:
ReflectionException: Method __PHP_Incomplete_Class::handle() does not exist
So the Job gets added correctly to the table, the worker correctly picks it up, but Laravel then somehow can't find or unserialize the class, even though it resides in the app/Jobs folder, as it should like it does in homestead (because i push to deploy so the files are the same).
Has anyone had similar problems?
Thanks in advance!
Please or to participate in this conversation.