-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Class defaultTokenProvider does not exist #11649
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
Conversation
Fix for: PHP Fatal error: Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist
|
Thank you for your contribution 👍 Here are some people reporting the same problem #11225 (but most of them had issues with their database connection). With the latest version (nc13/nc14) there should be a better error message (#11316). I'm just wondering but does your nextcloud still works when you apply these changes? 🤔 |
|
It's work perfect. |
|
Do you have any idea why the test suite is failing? https://drone.nextcloud.com/nextcloud/server/11166 Can you still reproduce the issue (when you revert your pr?). Maybe #11316 would help to find the reason for this error. |
|
I think it will fix all errors with defaultTokenProvider, which starts with a lowercase letter. This is name of property. Class name (type) is DefaultTokenProvider. Class defaultTokenProvider does not exist and it's true. |
|
Test-Suite works for me when |
|
Yes. |
Correct type
Maybe ReflectionNamedType not ReflectionType
As far as I can tell, it's either queried with lower case (constructor parameter name) or its fully-qualified class name which is prefixed by the namespace. |
|
Could I ask you to open an issue with what you are trying to fix here. |
Fix for:
PHP Fatal error: Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist