Contao-Camp 2024
Ergebnis 1 bis 11 von 11

Thema: Version 4.12.x-dev - The SessionBagInterface "contao_backend" is not registered.

  1. #1
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard Version 4.12.x-dev - The SessionBagInterface "contao_backend" is not registered.

    Hallo,

    bei meiner Testinstallation tritt seit gestrigem Update (4.12.x-dev) folgender Fehler auf und FE / BE sind nicht mehr erreichbar:

    Code:
    [2021-07-30T14:08:58.528395+02:00] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"https://test.nightwing.eu/contao/install","method":"GET"} []
    [2021-07-30T14:08:58.534025+02:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The SessionBagInterface "contao_backend" is not registered." at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 317 {"exception":"[object] (InvalidArgumentException(code: 0): The SessionBagInterface \"contao_backend\" is not registered. at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:317)"} []
    [2021-07-30T14:08:58.737448+02:00] request.INFO: Matched route "contao_core_favicon__invoke". {"route":"contao_core_favicon__invoke","route_parameters":{"_route":"contao_core_favicon__invoke","_scope":"frontend","_controller":"Contao\\CoreBundle\\Controller\\FaviconController"},"request_uri":"https://test.nightwing.eu/favicon.ico","method":"GET"} []
    [2021-07-30T14:08:58.757967+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2021-07-30T14:08:58.762903+02:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The SessionBagInterface "contao_backend" is not registered." at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 317 {"exception":"[object] (InvalidArgumentException(code: 0): The SessionBagInterface \"contao_backend\" is not registered. at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:317)"} []
    [2021-07-30T14:09:00.630246+02:00] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"https://test.nightwing.eu/contao/install","method":"GET"} []
    [2021-07-30T14:09:00.635775+02:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The SessionBagInterface "contao_backend" is not registered." at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 317 {"exception":"[object] (InvalidArgumentException(code: 0): The SessionBagInterface \"contao_backend\" is not registered. at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:317)"} []
    [2021-07-30T14:09:00.859576+02:00] request.INFO: Matched route "contao_core_favicon__invoke". {"route":"contao_core_favicon__invoke","route_parameters":{"_route":"contao_core_favicon__invoke","_scope":"frontend","_controller":"Contao\\CoreBundle\\Controller\\FaviconController"},"request_uri":"https://test.nightwing.eu/favicon.ico","method":"GET"} []
    [2021-07-30T14:09:00.882533+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2021-07-30T14:09:00.887639+02:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The SessionBagInterface "contao_backend" is not registered." at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 317 {"exception":"[object] (InvalidArgumentException(code: 0): The SessionBagInterface \"contao_backend\" is not registered. at /www/htdocs/xyxyxyxy/_test/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:317)"} []
    ToM

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

    Standard

    Kann ich bei mir nicht reproduzieren.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard

    Das macht die Sache natürlich doof...
    Hier noch die composer.json, vorhin vergessen:
    Code:
    {
        "require": {
            "contao/calendar-bundle": "4.12.x-dev",
            "contao/comments-bundle": "4.12.x-dev",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.12.x-dev",
            "contao/listing-bundle": "4.12.x-dev",
            "contao/manager-bundle": "4.12.x-dev",
            "contao/news-bundle": "4.12.x-dev",
            "contao/newsletter-bundle": "4.12.x-dev",
            "markocupic/be_email": "^3.3"
        },
        "minimum-stability": "dev",
        "prefer-stable": true,
        "extra": {
                "contao-component-dir": "assets"
            },
        "conflict": {
            },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }
    Ich schick Dir gleich noch ne PN, kannst es Dir gerne live ansehen.

    ToM

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

    Standard

    Nutze den Debug-Modus und poste den Stack Trace.
    » sponsor me via GitHub or PayPal or Revolut

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

    Standard

    Zitat Zitat von Nightwing Beitrag anzeigen
    Das macht die Sache natürlich doof...
    Hier noch die composer.json, vorhin vergessen:
    Code:
    {
        "require": {
            "contao/calendar-bundle": "4.12.x-dev",
            "contao/comments-bundle": "4.12.x-dev",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.12.x-dev",
            "contao/listing-bundle": "4.12.x-dev",
            "contao/manager-bundle": "4.12.x-dev",
            "contao/news-bundle": "4.12.x-dev",
            "contao/newsletter-bundle": "4.12.x-dev",
            "markocupic/be_email": "^3.3"
        },
        "minimum-stability": "dev",
        "prefer-stable": true,
        "extra": {
                "contao-component-dir": "assets"
            },
        "conflict": {
            },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }
    Ich schick Dir gleich noch ne PN, kannst es Dir gerne live ansehen.

    ToM
    Mit dieser composer.json kann ich das Problem auch reproduzieren.
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard

    Würde ich gerne machen, wenn ich ins Backend käme...
    Ich sehe nur eine Fehlerseite, die mich dazu animiert, obiges Log zu Lesen.


    Okay, per CM und F5 geschafft:

    Code:
    InvalidArgumentException:
    The SessionBagInterface "contao_backend" is not registered.
    
      at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:317
      at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('contao_backend')
         (vendor/symfony/http-foundation/Session/Session.php:257)
      at Symfony\Component\HttpFoundation\Session\Session->getBag('contao_backend')
         (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:352)
      at Contao\CoreBundle\Framework\ContaoFramework->initializeLegacySessionAccess()
         (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:297)
      at Contao\CoreBundle\Framework\ContaoFramework->initializeFramework()
         (vendor/contao/core-bundle/src/Framework/ContaoFramework.php:158)
      at Contao\CoreBundle\Framework\ContaoFramework->initialize()
         (vendor/contao/core-bundle/src/HttpKernel/ModelArgumentResolver.php:50)
      at Contao\CoreBundle\HttpKernel\ModelArgumentResolver->supports(object(Request), object(ArgumentMetadata))
         (vendor/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php:43)
      at Symfony\Component\HttpKernel\Controller\ArgumentResolver\TraceableValueResolver->supports(object(Request), object(ArgumentMetadata))
         (vendor/symfony/http-kernel/Controller/ArgumentResolver.php:52)
      at Symfony\Component\HttpKernel\Controller\ArgumentResolver->getArguments(object(Request), array(object(BackendController), 'loginAction'))
         (vendor/symfony/http-kernel/Controller/TraceableArgumentResolver.php:38)
      at Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver->getArguments(object(Request), array(object(BackendController), 'loginAction'))
         (vendor/symfony/http-kernel/HttpKernel.php:149)
      at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
         (vendor/symfony/http-kernel/HttpKernel.php:79)
      at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
         (vendor/symfony/http-kernel/Kernel.php:199)
      at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
         (web/index.php:31)
    ToM

  7. #7
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Mit dieser composer.json kann ich das Problem auch reproduzieren.
    Okay?!? Ist an dieser denn etwas falsch?

    ToM

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

    Standard

    Nein . Das Problem ist Symfony 5.3. PR kommt heute noch.
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard

    Alles klar, dankeschön und gerne

    ToM

  10. #10
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    33.898
    Partner-ID
    10107
    » sponsor me via GitHub or PayPal or Revolut

  11. #11
    Contao-Fan Avatar von Nightwing
    Registriert seit
    29.05.2013.
    Beiträge
    436

    Standard

    Mein Respekt, das ging ja schnell --> Fehler erfolgreich behoben.
    Vielen Dank!

    ToM

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
  •