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

Error dispatch job in laravel 10 - Call to undefined method dispatchNow() #125

Closed
nonghinh opened this issue Mar 22, 2023 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@nonghinh
Copy link

In Laravel 10.x, the dispathNow method has been replaced by the dispatchSync method. Please update the package to remove the error "Call to undefined methodApp\Jobs\AfterAuthorizeJob::dispatchNow()".
The error only occurs when I configure the execution of jobs with "[inline => true]"

@nonghinh nonghinh added bug Something isn't working unconfirmed Bug has not been reproduced yet labels Mar 22, 2023
@Kyon147
Copy link
Owner

Kyon147 commented Mar 22, 2023

There is already a PR for it #124 - feel free to give that branch a test.

@Kyon147
Copy link
Owner

Kyon147 commented Mar 22, 2023

I've created a new release which should fix this issue https://github.com/Kyon147/laravel-shopify/releases/tag/v18.0.1

@Kyon147 Kyon147 removed the unconfirmed Bug has not been reproduced yet label Mar 22, 2023
@nonghinh
Copy link
Author

Thank you @Kyon147

@Kyon147
Copy link
Owner

Kyon147 commented Mar 22, 2023

@nonghinh no problem, can you close the ticket once resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants