How to fix Symfony Compile Error: Cannot use Repository as Repository because the name is already in use

So you got this error? WTF does it even mean?

baby what does that even mean meme
What does this error mean?

Well my actual error was this.
Compile Error: Cannot use App\Repository\PageUrlsRepository as PageUrlsRepository because the name is already in use

I oopsied

You can see here what I did is accidentally add a second use statement. I remove that and BOOM all back to normal.






This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: