Ankündigung

Einklappen
Keine Ankündigung bisher.

Fehlermeldung Filter Verwandte / Zusammenhängende Einträge

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Fehlermeldung Filter Verwandte / Zusammenhängende Einträge

    Seit einer Umstellung auf PHP 8 erhalten wir in einem CC die folgende Fehlermeldung, ausgelöst durch ein Filtermodul für verwandte Einträge:

    Code:
    [2022-01-12 11:44:07] request.CRITICAL: Uncaught PHP Exception Error: "Non-static method PCT\CustomElements\Plugins\CustomCatalog\Core\Multilanguage::getActiveFrontendLanguage() cannot be called statically" at /domain/contao49/system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Filters/RelatedItems/RelatedItems.php line 71 {"exception":"[object] (Error(code: 0): Non-static method PCT\\CustomElements\\Plugins\\CustomCatalog\\Core\\Multilanguage::getActiveFrontendLanguage() cannot be called statically at /domain/contao49/system/modules/pct_customelements_plugin_customcatalog/PCT/CustomElements/Filters/RelatedItems/RelatedItems.php:71)"} []
    Die Module sind auf dem aktuellen Stand.

  • #2
    Das habe ich bereits aufm dem Schirm. Stell mal zwischenzeitlich auf 7.4 wieder. Ich habe noch ein paar Kleinigkeiten für das kommende CC Release. Dort wird es aber drin sein.
    http://www.premium-contao-themes.com

    Kommentar


    • #3
      Alles klar.

      Nur zur Vervollständigung.

      Falls das hier auch zu den Kleinigkeiten gehört:

      [2022-01-12 11:54:34] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{" _ro ute":"contao_install","_scope":"backend","_token_ c heck":true,"_controller":"Contao\\InstallationBund le\\Controller\\InstallationController::installAct ion"},"request_uri":"domain.de/contao/install","method":"GET"} []
      [2022-01-12 11:54:34] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFound Error: "Attempted to load class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG " from the global namespace. Did you forget a "use" statement?" at /domain/eclipsex/vendor/phpunit/php-token-stream/src/Stream.php line 477 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNot FoundError(code: 0): Attempted to load class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG " from the global namespace.\nDid you forget a "use" statement? at /domain/eclipsex/vendor/phpunit/php-token-stream/src/Stream.php:477)"} []


      Passiert beim DB Update Versuch nach dem Hinzufügen eines neuen Attributs...
      Zuletzt geändert von eblick; 12.01.2022, 13:14. Grund: format

      Kommentar


      • #4
        Die Klasse "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG" sagt mir nichts.
        http://www.premium-contao-themes.com

        Kommentar


        • #5
          Zitat von eblick Beitrag anzeigen
          Alles klar.

          Nur zur Vervollständigung.

          Falls das hier auch zu den Kleinigkeiten gehört:

          [2022-01-12 11:54:34] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{" _ro ute":"contao_install","_scope":"backend","_token_ c heck":true,"_controller":"Contao\\InstallationBund le\\Controller\\InstallationController::installAct ion"},"request_uri":"domain.de/contao/install","method":"GET"} []
          [2022-01-12 11:54:34] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFound Error: "Attempted to load class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG " from the global namespace. Did you forget a "use" statement?" at /domain/eclipsex/vendor/phpunit/php-token-stream/src/Stream.php line 477 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNot FoundError(code: 0): Attempted to load class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG " from the global namespace.\nDid you forget a "use" statement? at /domain/eclipsex/vendor/phpunit/php-token-stream/src/Stream.php:477)"} []


          Passiert beim DB Update Versuch nach dem Hinzufügen eines neuen Attributs...
          Unter PHP 8.1.x bekomme ich diesen Fehler ebenfalls beim Aufruf des Install-Tooks. Ich denke hier ist Contao selbst noch nicht ganz up to date. Die Klasse gehört zum Contao-Kern.

          PHP 8.0.x, 7.4.x läuft normal.
          http://www.premium-contao-themes.com

          Kommentar

          Lädt...
          X