Ergebnis 1 bis 5 von 5

Thema: FehlerLogg: app.ERROR: RuntimeException ...

  1. #1
    Contao-Fan
    Registriert seit
    03.09.2009.
    Beiträge
    313

    Standard FehlerLogg: app.ERROR: RuntimeException ...

    Hallo, ich habe FehlerLoggs die ich nicht ganz einordnen kann.
    Ich sehe dass es mit PCT BackendIntegration zu tun hat. Diese sind aber aktuell.
    Könnte es sein dass es da mit Contao ein Problem geben könnte?


    Code:
    [2024-01-17T09:09:35.639374+01:00] app.ERROR: RuntimeException: Failed to start the session because headers have already been sent by "/home/xy/www/yx/vendor/symfony/http-foundation/Response.php" at line 1250. in /home/xy/www/yx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145 Stack trace: #0 /home/xy/www/yx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(352): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/xy/www/yx/vendor/symfony/http-foundation/Session/Session.php(261): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /home/xy/www/yx/vendor/symfony/http-foundation/Session/Session.php(283): Symfony\Component\HttpFoundation\Session\Session->getBag('attributes') #3 /home/xy/www/yx/vendor/symfony/http-foundation/Session/Session.php(85): Symfony\Component\HttpFoundation\Session\Session->getAttributeBag() #4 /home/xy/www/yx/system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Plugins/CustomCatalog/Backend/BackendIntegration.php(979): Symfony\Component\HttpFoundation\Session\Session->set('pct_customcatal...', 0) #5 /home/xy/www/yx/vendor/contao/core-bundle/src/Cron/LegacyCron.php(87): PCT\CustomElements\Plugins\CustomCatalog\Backend\BackendIntegration->enableDatabaseUpdateCheck() #6 /home/xy/www/yx/vendor/contao/core-bundle/src/Cron/LegacyCron.php(41): Contao\CoreBundle\Cron\LegacyCron->runLegacyCrons('hourly') #7 /home/xy/www/yx/vendor/contao/core-bundle/src/Cron/CronJob.php(44): Contao\CoreBundle\Cron\LegacyCron->onHourly('web') #8 /home/xy/www/yx/vendor/contao/core-bundle/src/Cron/Cron.php(131): Contao\CoreBundle\Cron\CronJob->__invoke('web') #9 /home/xy/www/yx/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(47): Contao\CoreBundle\Cron\Cron->run('web') #10 /home/xy/www/yx/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #11 /home/xy/www/yx/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #12 /home/xy/www/yx/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\TerminateEvent)) #13 /home/xy/www/yx/vendor/symfony/http-kernel/HttpKernel.php(97): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...') #14 /home/xy/www/yx/vendor/symfony/http-kernel/Kernel.php(159): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #15 /home/xy/www/yx/vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(84): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #16 /home/xy/www/yx/web/index.php(48): Contao\ManagerBundle\HttpKernel\ContaoCache->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #17 {main} [] []
    [2024-01-17T09:09:35.657819+01:00] php.CRITICAL: Uncaught Exception: Failed to start the session because headers have already been sent by "/home/xy/www/yx/vendor/symfony/http-foundation/Response.php" at line 1250. {"exception":"[object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/home/xy/www/yx/vendor/symfony/http-foundation/Response.php\" at line 1250. at /home/xy/www/yx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []
    [2024-01-17T09:09:35.665513+01:00] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Failed to start the session because headers have already been sent by "/home/xy/www/yx/vendor/symfony/http-foundation/Response.php" at line 1250." at /home/xy/www/yx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 145 {"exception":"[object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/home/xy/www/yx/vendor/symfony/http-foundation/Response.php\" at line 1250. at /home/xy/www/yx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []
    [2024-01-17T09:09:35.715430+01:00] php.WARNING: Warning: Cannot modify header information - headers already sent by (output started at /home/xy/www/yx/vendor/symfony/http-foundation/Response.php:1250) {"exception":"[object] (ErrorException(code: 0): Warning: Cannot modify header information - headers already sent by (output started at /home/xy/www/yx/vendor/symfony/http-foundation/Response.php:1250) at /home/xy/www/yx/vendor/contao/core-bundle/src/HttpKernel/Header/NativeHeaderStorage.php:27)"} []

  2. #2
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.753
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Ich denke die Frage ist besser im Forum von PCT aufgehoben.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  3. #3
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Könnte auch irgendwo ein Zeichen vor <?php sein.
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Contao-Fan
    Registriert seit
    03.09.2009.
    Beiträge
    313

    Standard

    Hallo

    Leider konnte ich das Problem mit PCT nicht lösen weil nicht «Reproduzierbar»
    Laut PCT liegt das Problem am Server selbst oder an der Installation allgemein.

    Als Empfehlung habe ich beide Ordner «prod» und «dev» gelöscht und dann den Contao-Manager den prod-cache erneuert.
    Der «prod» Ordner wurde automatisch neu erstellt hingegen der «dev» Ordner nicht ist das normal?

    Trotzdem bekomme ich immer noch Error-Meldungen:

    Code:
    [2024-01-30T11:00:16.065422+01:00] app.ERROR: RuntimeException: Failed to start the session because headers have already been sent by "/home/xy/www/xyyx/vendor/symfony/http-foundation/Response.php" at line 381. in /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145 Stack trace: #0 /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php(352): Symfony\Component\HttpFoundation\Session\Storage\N ativeSessionStorage->start() #1 /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Session.php(261): Symfony\Component\HttpFoundation\Session\Storage\N ativeSessionStorage->getBag('attributes') #2 /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Session.php(283): Symfony\Component\HttpFoundation\Session\Session->getBag('attributes') #3 /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Session.php(85): Symfony\Component\HttpFoundation\Session\Session->getAttributeBag() #4 /home/xy/www/xyyx/system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Plugins/CustomCatalog/Backend/BackendIntegration.php(979): Symfony\Component\HttpFoundation\Session\Session->set('pct_customcatal...', 0) #5 /home/xy/www/xyyx/vendor/contao/core-bundle/src/Cron/LegacyCron.php(87): PCT\CustomElements\Plugins\CustomCatalog\Backend\B ackendIntegration->enableDatabaseUpdateCheck() #6 /home/xy/www/xyyx/vendor/contao/core-bundle/src/Cron/LegacyCron.php(41): Contao\CoreBundle\Cron\LegacyCron->runLegacyCrons('hourly') #7 /home/xy/www/xyyx/vendor/contao/core-bundle/src/Cron/CronJob.php(44): Contao\CoreBundle\Cron\LegacyCron->onHourly('web') #8 /home/xy/www/xyyx/vendor/contao/core-bundle/src/Cron/Cron.php(131): Contao\CoreBundle\Cron\CronJob->__invoke('web') #9 /home/xy/www/xyyx/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(47): Contao\CoreBundle\Cron\Cron->run('web') #10 /home/xy/www/xyyx/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Contao\CoreBundle\EventListener\CommandSchedulerLi stener->__invoke(Object(Symfony\Component\HttpKernel\Even t\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDisp atcher)) #11 /home/xy/www/xyyx/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher: :Symfony\Component\EventDispatcher\{closure}(Objec t(Symfony\Component\HttpKernel\Event\TerminateEven t), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDisp atcher)) #12 /home/xy/www/xyyx/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\Terminat eEvent)) #13 /home/xy/www/xyyx/vendor/symfony/http-kernel/HttpKernel.php(97): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Even t\TerminateEvent), 'kernel.terminat...') #14 /home/xy/www/xyyx/vendor/symfony/http-kernel/Kernel.php(159): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation \Request), Object(Symfony\Component\HttpFoundation\Response)) #15 /home/xy/www/xyyx/vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(84): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation \Request), Object(Symfony\Component\HttpFoundation\Response)) #16 /home/xy/www/xyyx/web/index.php(48): Contao\ManagerBundle\HttpKernel\ContaoCache->terminate(Object(Symfony\Component\HttpFoundation \Request), Object(Symfony\Component\HttpFoundation\Response)) #17 {main} [] []
    [2024-01-30T11:00:16.081857+01:00] php.CRITICAL: Uncaught Exception: Failed to start the session because headers have already been sent by "/home/xy/www/xyyx/vendor/symfony/http-foundation/Response.php" at line 381. {"exception":"[object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/home/xy/www/xyyx/vendor/symfony/http-foundation/Response.php\" at line 381. at /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []
    [2024-01-30T11:00:16.084984+01:00] request.CRITICAL: Uncaught PHP Exception RuntimeException: "Failed to start the session because headers have already been sent by "/home/xy/www/xyyx/vendor/symfony/http-foundation/Response.php" at line 381." at /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 145 {"exception":"[object] (RuntimeException(code: 0): Failed to start the session because headers have already been sent by \"/home/xy/www/xyyx/vendor/symfony/http-foundation/Response.php\" at line 381. at /home/xy/www/xyyx/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)"} []
    Geändert von thomasr (30.01.2024 um 10:52 Uhr)

  5. #5
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.753
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von thomasr Beitrag anzeigen

    Als Empfehlung habe ich beide Ordner «prod» und «dev» gelöscht und dann den Contao-Manager den prod-cache erneuert.
    Der «prod» Ordner wurde automatisch neu erstellt hingegen der «dev» Ordner nicht ist das normal?
    Der wird m. E. erst wieder erstellt wenn Du im Debug-Modus Deiner Installation unterwegs bist.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •