garethredfern / laravelvue-spa

Documentation site for building a Laravel API and Vue SPA.
https://laravelvuespa.com
109 stars 4 forks source link

Can not get Redis to work #8

Closed ericlaaper closed 3 years ago

ericlaaper commented 3 years ago

Hi,

Thanks for a great starter. I used it to make a quick start for transferring my applications from LARAVEL/Vue integrated to Laravel hosted on Forge(Digital Ocean) and the frontend hosted on Firebase. Works perfectly. One problem, I can not get Redis to work. I can see in the app.php you commented out 'Redis' => Illuminate\Support\Facades\Redis::class, I tried to activate it but as soon as I tried to get my application using redis for database queing I got errors. Do you have any idea?

melvin78 commented 3 years ago

What sort of errors appeared?

ericlaaper commented 3 years ago

IN telescope: for example: Call to undefined method App\Jobs\FSFULL\sendInvitation::payload()

ericlaaper commented 3 years ago

as soon I set it to database or sync everything works perfect

ericlaaper commented 3 years ago

and in the log file : Call to undefined method App\Jobs\FSFULL\sendInvitation::payload() with context { "userId": 1, "exception": [ ] }

ericlaaper commented 3 years ago

Found it, it's actually a ray problem! After disabling ray everything works smoothly. Thanks a lot, Eric

garethredfern commented 3 years ago

Glad you found the starter files useful and sorted out your redis issue.