So you got this error? WTF does it even mean? Well my actual error was this. Compile Error: Cannot use App\Repository\PageUrlsRepository as PageUrlsRepository because the name is already in use You can see here what I did is accidentally add a second use statement. I remove that and BOOM all back to normal.

Read more of this post