Error 500 Internal Server Error

GET https://importer.juiceoffice.co.uk/api/lastImported?last=31757

Dispatched Events

Priority Listener
kernel.request
2048
"Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure(object $event = null): void"
256
"Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest(RequestEvent $event): void"
128
"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest(RequestEvent $event): void"
100
"Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale(KernelEvent $event): void"
32
"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest(RequestEvent $event): void"
16
"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest(RequestEvent $event): void"
15
"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest(RequestEvent $event): void"
kernel.controller
0
"Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController(ControllerEvent $event): void"
0
"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController(ControllerEvent $event): void"
kernel.controller_arguments
10
"Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments(ControllerArgumentsEvent $event): void"
0
"Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments(ControllerArgumentsEvent $event): void"
kernel.response
0
"Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse(ResponseEvent $event): void"
0
"Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse(ResponseEvent $event): void"
-10
"Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse(ResponseEvent $event): void"
-100
"Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse(ResponseEvent $event): void"
-128
"Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader(ResponseEvent $event): void"
-128
"Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse(ResponseEvent $event): void"
-255
"Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse(ResponseEvent $event): void"
-1000
"Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse(ResponseEvent $event): void"
kernel.finish_request
0
"Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest(FinishRequestEvent $event): void"
0
"Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest(): void"
-15
"Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest(FinishRequestEvent $event): void"