Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined Query #62

Open
MarceloA00 opened this issue Sep 2, 2020 · 2 comments
Open

Undefined Query #62

MarceloA00 opened this issue Sep 2, 2020 · 2 comments

Comments

@MarceloA00
Copy link

MarceloA00 commented Sep 2, 2020

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
Copy link
Owner

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

@ideodora
Copy link

ideodora commented Oct 12, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants