laravel-job-status
laravel-job-status copied to clipboard
Undefined Query
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??
Can you tell how do you dispatch the Job and what is the Laravel version you are using?
I met same problem.
fixed by php artisan config:clear php artisan config:cache