-
Notifications
You must be signed in to change notification settings - Fork 17
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
bindShared() is now singleton() #8
Comments
When I run
What should I do now? I'm new to Laravel & Lumen. Thanks. |
getting same error. Found a solution, one of the fork repository "thomasgambina/oauth2-server-lumen.git", has made changes into composer.json. I have used same repository like below:
This has resolved the issue. |
@manojsaini81 can you please share your entire composer.json file? |
Here is the Json. I was able to install all bundle but there is another issue coming while using oAuth Authentication which says Facade root is not found. However here is the composer.json { |
Damn this one just killed me during my upgrade to Lumen 5.2.*.
Caused by this include:
Would really prefer not to put a Since this is a critical/showstopper bug for using this library with the current version of Lumen, is there an ETA for this update being moved into a mainstream Composer dependency? Say, 0.2? |
I replaced the occurences of bindShared with singleton after reading this |
@mhousser Could you update this package without put 'dev-master' version? Which version did you use for Lumen 5.2? |
The dependency version of lucadegasperi/oauth2-server-laravel is using $app->bindShared() which is now called $app->singleton().
The fix is to update your dependency to 5.1.1
The text was updated successfully, but these errors were encountered: