Exceptions
Exception
Symfony\Component\ErrorHandler\Error\ FatalError
Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#1212 -error: array:4 [ "type" => 1 "message" => "Cannot declare class App\Entity\MailboxSource, because the name is already in use" "file" => "/var/www/mail_copy/src/Entity/MailboxSource.php" "line" => 10 ] }
in
src/Entity/MailboxSource.php
(line 10)
use Doctrine\ORM\Mapping as ORM;#[ORM\Entity]#[ORM\Table(name: 'mailbox_sources')]#[ORM\Index(columns: ['status'], name: 'idx_mbs_status')]class MailboxSource{public const STATUS_DRAFT = 'draft';public const STATUS_TESTING = 'testing';public const STATUS_OK = 'ok';public const STATUS_FAIL = 'fail';
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 11:27:48 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "cb912e"
},
"request_uri": "https://mail.status-global.fr/_profiler/cb912e?panel=exception&type=request",
"method": "GET"
}
|
Stack Trace
|
FatalError
|
|---|
Symfony\Component\ErrorHandler\Error\FatalError: Error: Cannot declare class App\Entity\MailboxSource, because the name is already in use at src/Entity/MailboxSource.php:10 |