Ich habe hier bei einer Installation auch diesen Fehler.
Nachtrag: Der Hoster ist bemerkenswerter Weise auch Hostpoint. Das Update auf 4.13 hat aber schon vor ca. einem Jahr stattgefunden. Vor einigen Tagen wurde allerdings auf 4.13.15 upgedatet. Erst danach trat das Problem auf.
Wenn der Fehler auftritt, ist er auch im Backend vorhanden, d.h. das CSS des Backend sieht farblich leicht verändert aus und ich bekomme zusätzlich im Backend die Fehlermeldung.
Code:
Value of type null is not callable
Hier mal der komplette Stack-Trace aus dem Backend.
ErrorException [1/2]
Code:
ErrorException:Warning: Class "connection" not found
at /home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/var-exporter/Internal/LazyObjectRegistry.php:79
at Symfony\Component\VarExporter\Internal\LazyObjectRegistry::getClassResetters('Contao\\CoreBundle\\Repository\\CronJobRepository')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/var-exporter/LazyGhostTrait.php:60)
at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository::createLazyGhost(array('*_em' => object(Closure), '*_class' => object(Closure), '*_entityName' => object(Closure)), array('Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepositorylazyObjectState' => true), object(CronJobRepository))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/doctrine/doctrine-bundle/Repository/LazyServiceEntityRepository.php:66)
at Doctrine\Bundle\DoctrineBundle\Repository\LazyServiceEntityRepository->__construct(object(Registry), 'Contao\\CoreBundle\\Entity\\CronJob')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/contao/core-bundle/src/Repository/CronJobRepository.php:33)
at Contao\CoreBundle\Repository\CronJobRepository->__construct(object(Registry))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/var/cache/dev/ContainerK9RX8rm/getContao_Repository_CronJobService.php:29)
at ContainerK9RX8rm\getContao_Repository_CronJobService::do(object(Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer), true)
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/var/cache/dev/ContainerK9RX8rm/Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer.php:756)
at ContainerK9RX8rm\Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer->load('getContao_Repository_CronJobService.php')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/var/cache/dev/ContainerK9RX8rm/getContao_CronService.php:27)
at ContainerK9RX8rm\getContao_CronService::ContainerK9RX8rm\{closure}()
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/contao/core-bundle/src/Cron/Cron.php:70)
at Contao\CoreBundle\Cron\Cron->run('web')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php:47)
at Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/HttpKernel.php:97)
at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/Kernel.php:159)
at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/public/index.php:48)
ErrorException [2/2]
Code:
ErrorException:
ErrorException:
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-foundation/Response.php:381)
at /home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/contao/core-bundle/src/HttpKernel/Header/NativeHeaderStorage.php:27
at Contao\CoreBundle\HttpKernel\Header\NativeHeaderStorage->add('Set-Cookie: PHPSESSID=4ri3veb1knialh0eg5rd4j2fq1jd5g50; path=/; secure; httponly')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/contao/core-bundle/src/EventListener/MergeHttpHeadersListener.php:126)
at Contao\CoreBundle\EventListener\MergeHttpHeadersListener->setResponseHeaders(object(Response))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/contao/core-bundle/src/EventListener/MergeHttpHeadersListener.php:57)
at Contao\CoreBundle\EventListener\MergeHttpHeadersListener->__invoke(object(ResponseEvent), 'kernel.response', object(TraceableEventDispatcher))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ResponseEvent), 'kernel.response', object(TraceableEventDispatcher))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.response', object(ResponseEvent))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ResponseEvent), 'kernel.response')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ResponseEvent), 'kernel.response')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/HttpKernel.php:196)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse(object(Response), object(Request), 2)
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/HttpKernel.php:184)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/EventListener/ErrorListener.php:91)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/HttpKernel.php:223)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ErrorException), object(Request), 1)
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/HttpKernel.php:114)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ErrorException), object(Request))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(ErrorException))
(/home/xxxu/www/xxx-uri.ch/contao_4_13_x/vendor/symfony/error-handler/ErrorHandler.php:607)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ErrorException))