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

Class "League\Uri\UriString" not found #1371

Closed
jmpecx opened this issue Sep 6, 2023 · 8 comments
Closed

Class "League\Uri\UriString" not found #1371

jmpecx opened this issue Sep 6, 2023 · 8 comments

Comments

@jmpecx
Copy link

jmpecx commented Sep 6, 2023

Class "League\Uri\UriString" not found

image

8.5.3 works find.

Anyone else had this problem?

@parallels999
Copy link

parallels999 commented Sep 6, 2023

@jmpecx seems like a composer problem, or a bug on League/Uri, not from here

@jmpecx
Copy link
Author

jmpecx commented Sep 9, 2023

@parallels999 Emmmm, But if I downgrade it to 8.5.3 , It works.

oauth2-server depends League/Uri, and this pr #1367 update League/Uri version to a new big version, from 6 to 7 can make so BREAK CHANGES

@Sephster
Copy link
Member

The URI String class is in the uri interfaces package which is a dependency of v7 of league/uri.

I'm assuming you don't have this package in your vendor directory. Is this the case?

@jmpecx
Copy link
Author

jmpecx commented Sep 12, 2023

@Sephster No detailed inspection, but I clearly didn't delete it manually. Composer should automatically download it based on the instructions.

I just rolled back to '8.5.3', and the reason this version works is that it does not rely on League/uri v7.

@jmpecx
Copy link
Author

jmpecx commented Sep 12, 2023

If there is no feedback from others, it may be due to issues with my environment.

@parallels999
Copy link

If there is no feedback from others, it may be due to issues with my environment.

That has happened to me, sometimes, I have not known how to solve it, what I have done is delete the entire vendor manually and composer update

If you find the solution, let me know, so I can have that knowledge. 👀👀

@Sephster
Copy link
Member

Sorry @jmpecx, just to confirm, was v7 in your vendor dir or did it stay on an earlier version?

You can run composer why-not league/uri 7.0 to find out why it didn't install if this is the case.

Let me know how you get on

@Sephster Sephster closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
@Sephster
Copy link
Member

Closing due to lack of activity

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