https://app.dev.my-flow.fr/messages/unread/FcfGocdtUvZFTK4oDjNWCB?userId=JpJCxzoJkC2TqNYCes1YEm

ErrorController

Request

GET Parameters

Key Value
userId
"JpJCxzoJkC2TqNYCes1YEm"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"31b507"
exception
Error {#1983
  #message: "Call to a member function getId() on null"
  #code: 0
  #file: "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/src/Service/MessageService.php"
  #line: 231
  trace: {
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/src/Service/MessageService.php:231 {
      App\Service\MessageService->getNumberMessageUnread(Mission $mission, ?DiscussionGroup $groupedMessage = null, $user = null) …
      › foreach ($listMessage as $message) {\r    if ( $user !== null && $message->getOrigin() !=2 && ($message->getUserListWhoRead() === null || !in_array($this->security->getUser()->getId(), $message->getUserListWhoRead()))\r     and !$message->isDeleted() and $this->haveMessage($message))\r
    }
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/src/Controller/SycMessagesAndPlanning.php:847 {
      App\Controller\SycMessagesAndPlanning->messageUnread(Request $request, Mission $mission, MessageRepository $messageRepository) …
      ›     'groupId' => $groupId,\r    'nombreUnread' => $this->messageService->getNumberMessageUnread(mission: $mission,groupedMessage : $group,user : $user)\r]);\r
    }
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';   
      arguments: {
        "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#429 …9}
paramFetcher
FOS\RestBundle\Request\ParamFetcher {#1166
  -container: ContainerSIjAch6\App_KernelDevDebugContainer {#72 …}
  -parameterBag: FOS\RestBundle\Request\ParameterBag {#1157 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#627 …}
  -validator: Symfony\Component\Validator\Validator\TraceableValidator {#1154 …}
}

Request Headers

Header Value
accept-encoding
"gzip,deflate"
connection
"close"
host
"app.dev.my-flow.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) Chrome/119.0.6045.214 Safari/537.36"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"54.84.250.51"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sun, 20 Apr 2025 21:48:44 GMT"
vary
"Accept"
x-debug-exception
"Call%20to%20a%20member%20function%20getId%28%29%20on%20null"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fmy-flow.fr%2Fapp.dev.my-flow.fr%2Fsrc%2FService%2FMessageService.php:231"
x-debug-token
"cb5bf8"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/security-core/Security.php"
    "line" => 68
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/security-core/Security.php"
    "line" => 40
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/src/Service/MessageService.php"
    "line" => 231
    "function" => "getUser"
    "class" => "Symfony\Component\Security\Core\Security"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/src/Controller/SycMessagesAndPlanning.php"
    "line" => 847
    "function" => "getNumberMessageUnread"
    "class" => "App\Service\MessageService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "messageUnread"
    "class" => "App\Controller\SycMessagesAndPlanning"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"1c005a157a0e3727693e35fa4ddd52f6"
BACK_WEBSITE_DOMAIN
"app.dev.my-flow.fr"
BACK_WEBSITE_URL
"https://app.dev.my-flow.fr"
CORS_ALLOW_ORIGIN
".*"
DATABASE_URL
"mysql://dbPreprod:EukWDdlzuz05c0@127.0.0.1:3306/app_preprod?serverVersion=mariadb-10.5.18"
FRONT_WEBSITE_API_BASE_URL
"https://dev.my-flow.fr/wp-json/my-flow/v1"
FRONT_WEBSITE_URL
"https://dev.my-flow.fr"
IMAP_HOST
"my-flow.fr"
IMAP_PASSWORD
"Hzle96&83Hzle96&83"
IMAP_USERNAME
"operation@my-flow.fr"
JWT_PASSPHRASE
"f77a53a513390769ecbf761a4f3dc8ed"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
LINK_MY_FLOW_CGU_CLIENT
"https://my-flow.fr/conditions-generales-dutilisation-client/"
LINK_MY_FLOW_CGU_SOUS_TRAITANT
"https://my-flow.fr/conditions-generales-dutilisation-partenaires/"
LINK_MY_FLOW_CGV
"https://my-flow.fr/conditions-generales-de-vente-entre-professionnels/"
MAILER_DSN
"mailjet+smtp://3eda9b61910c3368baa717b9f3da10ac:7495070b3142f675ad5e2c4804a81ceb@default"
MAINTENANCE_INFO_APP
"0"
MAINTENANCE_MODE
"0;"
MERCURE_JWT_SECRET
"lKZM1L1IZo11dloM80iUf6PNcnQG7ASa"
MERCURE_PUBLIC_URL
"https://app.my-flow.fr:3030/.well-known/mercure"
MERCURE_URL
"https://app.my-flow.fr:3030/.well-known/mercure"
RECAPTCHA_KEY
"6Lfq4aMhAAAAAJleAzwxfzLEnq8ttDQ8MtLSfFXb"
RECAPTCHA_SECRET
"6Lfq4aMhAAAAAJleAzwxfzLEnq8ttDQ8MtLSfFXb"
SMS_API_BASE_URL
""
SMS_API_TOKEN
""
X_API_TOKEN
"1234"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/my-flow.fr"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip,deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"app.dev.my-flow.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) Chrome/119.0.6045.214 Safari/537.36"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"54.84.250.51"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"userId=JpJCxzoJkC2TqNYCes1YEm"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"userId=JpJCxzoJkC2TqNYCes1YEm"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aAVrvOREyNwtvNSSuZIajwAAAE0"
REDIRECT_URL
"/messages/unread/FcfGocdtUvZFTK4oDjNWCB"
REMOTE_ADDR
"54.84.250.51"
REMOTE_PORT
"50526"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1745185724
REQUEST_TIME_FLOAT
1745185724.5452
REQUEST_URI
"/messages/unread/FcfGocdtUvZFTK4oDjNWCB?userId=JpJCxzoJkC2TqNYCes1YEm"
SCRIPT_FILENAME
"/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"212.227.176.12"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"app.dev.my-flow.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at app.dev.my-flow.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,FRONT_WEBSITE_URL,FRONT_WEBSITE_API_BASE_URL,BACK_WEBSITE_URL,BACK_WEBSITE_DOMAIN,X_API_TOKEN,SMS_API_BASE_URL,SMS_API_TOKEN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN,IMAP_HOST,IMAP_USERNAME,IMAP_PASSWORD,MAINTENANCE_INFO_APP,MAINTENANCE_MODE,LINK_MY_FLOW_CGU_CLIENT,LINK_MY_FLOW_CGU_SOUS_TRAITANT,LINK_MY_FLOW_CGV,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,RECAPTCHA_SECRET,RECAPTCHA_KEY,DATABASE_URL,MAILER_DSN"
UNIQUE_ID
"aAVrvOREyNwtvNSSuZIajwAAAE0"
USER
"admin861nb7uh6as"
proxy-nokeepalive
"1"

Parent Request

Return to parent request (token = 0d1c60)

Key Value
_controller
"App\Controller\SycMessagesAndPlanning::messageUnread"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"messages_unread"
_route_params
[
  "id" => "FcfGocdtUvZFTK4oDjNWCB"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"c2004d"
id
"FcfGocdtUvZFTK4oDjNWCB"
media_type
"text/html"
mission
App\Entity\Mission {#1377
  -id: "FcfGocdtUvZFTK4oDjNWCB"
  -reference: 115
  -positionOrder: null
  -stateClient: null
  -stateProvider: "A activer"
  -createdAt: DateTime @1723645041 {#1380
    date: 2024-08-14 16:17:21.0 Europe/Paris (+02:00)
  }
  -desiredDelivery: DateTime @1723759200 {#1379
    date: 2024-08-16 00:00:00.0 Europe/Paris (+02:00)
  }
  -campaign: Proxies\__CG__\App\Entity\Campaign {#1523 …}
  -infoMissions: Doctrine\ORM\PersistentCollection {#1520 …}
  -fileMissions: Doctrine\ORM\PersistentCollection {#1458 …}
  -contact: null
  -historiques: Doctrine\ORM\PersistentCollection {#1475 …}
  -initialBriefing: """
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">&nbsp;</p>\n
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="border: none; display: inline-block; overflow: hidden; width: 602px; height: 291px;"><img style="margin-left: 0px; margin-top: 0px;" src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcufrUOBhiSmEFkJvGZn9O-U6wI0-f8DjPOjyFThl6oLHHumIYh7JjDTR8LElV_p_-iPIRO6zMfHAuLbId-7sNtrGod-iDqLUi0Tx1pXoO3ugLlMYshP_utrGl-8ygC5skODpZOUuamkavowI6XHBWcJzFi?key=So1QptscjBoSloIHiqu5lA" width="602" height="291" /></span></span></p>\n
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">&nbsp;</p>\n
    <p><span>&nbsp;</span></p>\n
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">&nbsp;</p>\n
    <p><span>&nbsp;</span></p>\n
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #ff0000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="border: none; display: inline-block; overflow: hidden; width: 602px; height: 301px;"><img style="margin-left: 0px; margin-top: 0px;" src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeEwBb7sh8MzGAtBcZ5PhJHtxKWK-5W9THk6bDW7VEUWnupcaWVKsyE2JfE-05LZMFs98TXHpoJUms59rGucf3gL82Zb9KJuxXJ_3CKP5f5A5QBd8smNprxNtFyPD6-ezak69u_z8buGpjzPbeKKFXcHryA?key=So1QptscjBoSloIHiqu5lA" width="602" height="301" /></span></span></p>\n
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">&nbsp;</p>\n
    <p dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">&nbsp;</p>
    """
  -product: Proxies\__CG__\App\Entity\Product {#1441 …}
  -participants: Doctrine\ORM\PersistentCollection {#1446 …}
  -workflow: Proxies\__CG__\App\Entity\Workflow {#1391 …}
  -guideStep: null
  -quantity: 1
  -price: 0.0
  -priceWithMargeMyFlow: null
  -margeMyFlow: null
  -priceSale: null
  -state: "provisional"
  -cancelReason: null
  -libelleCustom: null
  -initialTime: null
  -realTime: null
  -preActivatedAt: null
  -adminTime: null
  -adminIncome: null
  -discountForCompany: 0
  -originalPrice: null
  -oldCommand: "1-0-261-1723759200"
  -messages: Doctrine\ORM\PersistentCollection {#1345 …}
  -lastState: "provisional"
  -canInvoiced: false
  -balanceTransactions: Doctrine\ORM\PersistentCollection {#1407 …}
  -evaluate: null
  -canSendEmailDaily: true
  -canSendEmailMonthly: true
  -canSendEmailWeekly: true
  -messageUnreadApi: 0
  -confidential: false
  -alreadyAcceptConfidentialityContract: false
  -responsable: []
  -remainDays: null
  -campaignAmount: null
  -canActivate: false
  -canValidate: false
  -planningAdditionalInformation: null
  -campaignStateApi: null
  -priceApi: null
  -timeApi: null
  -campaignStateHtml: null
  -tempId: null
}
paramFetcher
FOS\RestBundle\Request\ParamFetcher {#1166
  -container: ContainerSIjAch6\App_KernelDevDebugContainer {#72 …}
  -parameterBag: FOS\RestBundle\Request\ParameterBag {#1157 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#627 …}
  -validator: Symfony\Component\Validator\Validator\TraceableValidator {#1154 …}
}