Fatal error: Cannot declare class App\Controller\admin\FiscalResponsibilityController, because the name is already in use in /home9/catalaogogov/public_html/producao/src/Controller/admin/CourtOpinionController.php on line 23
Compile Error: Cannot declare class App\Controller\admin\FiscalResponsibilityController, because the name is already in use (500 Internal Server Error)

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Compile Error: Cannot declare class App\Controller\admin\FiscalResponsibilityController, because the name is already in use

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

  1. use Symfony\Component\HttpFoundation\Request;
  2. use Symfony\Component\HttpFoundation\Response;
  3. use Symfony\Component\Routing\Annotation\Route;
  4. #[Route('/court-opinion')]
  5. class FiscalResponsibilityController extends EssentialsInController
  6. {
  7.     #[Route('/'name'admin_fiscal_responsibility')]
  8.     public function index(): Response
  9.     {
  10.         $this->initBreadcrumbs();

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Cannot declare class App\Controller\admin\FiscalResponsibilityController, because the name is already in use

  at src/Controller/admin/CourtOpinionController.php:23