imTigger / laravel-job-status

Add ability to track Job progress, status and result dispatched to Queue.
MIT License
407 stars 60 forks source link

Undefined Query #62

Open MarceloA00 opened 4 years ago

MarceloA00 commented 4 years ago

I get this error when the job is dispatched. Call to undefined method Illuminate\Foundation\Application::query() Points here as origin of error, $status = $entityClass::query()->create($data) Any idea on how to fix it??

imTigger commented 4 years ago

Can you tell how do you dispatch the Job and what is the Laravel version you are using?

ideodora commented 4 years ago

I met same problem. fixed by php artisan config:clear php artisan config:cache