Exceptions
Exception
ErrorException
Show exception properties
ErrorException {#888 #severity: E_WARNING }
in
src/Controller/InvoiceController.php
(line 172)
$filteredWorkLogs = [];$workLogs = $this->getTempoWorklogs($tempoAccountName, $dtStart, $dtEnd);foreach ($workLogs as $issue) {$jiraIssue = $this->getJiraIssue($issue->issue->id);$issue->hoursTxt = gmdate("H:i", $issue->timeSpentSeconds);$issue->hours = $issue->timeSpentSeconds / 3600;$issue->dateTxt = (new \DateTime($issue->startDate))->format('d/m/Y');$issue->comment = strlen($issue->description) > 60 ? substr($issue->description, 0, 60) . "..." : $issue->description;$issue->summary = $jiraIssue->summary;$issue->key = $jiraIssue->key;$filteredWorkLogs[] = $issue;
in
vendor/symfony/http-kernel/HttpKernel.php
->
fetchJiraWorklog
(line 190)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 143)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return static function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 12:23:06 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "b53dec"
},
"request_uri": "http://ian-dev.tail4128ad.ts.net/_profiler/b53dec",
"method": "GET"
}
|
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Warning: Attempt to read property "summary" on null
at src/Controller/InvoiceController.php:172
at App\Controller\InvoiceController->fetchJiraWorklog()
(vendor/symfony/http-kernel/HttpKernel.php:190)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:79)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:143)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/projects/xact-apps/vendor/autoload_runtime.php')
(public/index.php:5)
|