Closed mikevandiepen closed 1 year ago
Hi @mikevandiepen have you been able to figure this out? If not, I would check to make sure that the JobPayload class exists in your vendor directory. If its there at the expected path, try running a composer dump-autoload
.
Yes, I had an install of an older laravel version with a newer PHP version, I believe Laravel 8 with PHP 8.2, however my install was rather fresh.
Since I was just setting up my project I just made a new one and tagged laravel correctly when initiating. Everything works fine now :-)
8.75
3
^11.3
Describe the bug I've properly configured the RabbitMQ container and hooked it up to my docker network, I can connect with the dashboard and
$ php artisan rabbitmq:consume
works fine, but when I schedule a job it throws this exception.It's probably not an issue on the packages side, but I'm dumbstruck how to fix it. I cant find anything when googling for the issue so I'm hoping you've seen this one before!
Note: this is about dispatching and queuing an internal job for Horizon to execute.