@ligonsker may be you have two App\Http\Controllers\MyController in controller file or route file.
Nov 21, 2022
5
Level 8
Cannot declare class because the name is already in use
Hello, After a certain merge I started getting the error:
Cannot declare class App\Http\Controllers\MyController because the name is already in use
When I am trying to view a page (blade file)
How can I try to fix that without using Composer commands? Is there a file I can look for that could've been declared twice accidentally during merge?
Level 102
@Ligonsker search the complete project for the class
1 like
Please or to participate in this conversation.