Ankündigung

Einklappen
Keine Ankündigung bisher.

Update und Frontend mit Fehler nicht erreichbar

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

  • Update und Frontend mit Fehler nicht erreichbar

    Ich habe Contao 4.9.x und Theme 2.x auf einen neuen Server umgezogen, zuerst mit dem Updater das Theme auf V 4.2.7 aktualisiert, die manuellen Änderungen erledigt, auf PHP 8.1 umgestellt und Contao auf 4.13.x hochgezogen.
    Backend läuft, aber das Frontend liefert nen Fehler:

    [2022-12-15T14:57:27.432211+01:00] request.INFO: Matched route "tl_page.2605". {"route":"tl_page.2605","route_parameters":{"_t oke n_check":true,"_controller":"Contao\\FrontendIndex ::renderPage","_scope":"frontend","_locale":"de"," _format":"html","_canonical_route":"tl_page.2605", "parameters":"","pageModel":{"Contao\\PageMode l":[]},"_route":"tl_page.2605","_route_object":{"Cont ao \\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"http://p631855.webspaceconfig.de/start.html","method":"GET"} []
    [2022-12-15T14:57:27.486333+01:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2022-12-15T14:57:28.362890+01:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Contao\Picture::__construct(): Argument #1 ($file) must be of type Contao\File, null given, called in /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Picture.php on line 93" at /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Picture.php line 73 {"exception":"[object] (TypeError(code: 0): Contao\\Picture::__construct(): Argument #1 ($file) must be of type Contao\\File, null given, called in /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Picture.php on line 93 at /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Picture.php:73)"} []

    Wo ist denn da noch der Haken?

  • #2
    Moin,

    ist wirklich alles auf aktuellem Stand und PHP 8.1 eingestellt?
    Die letzte Zeile scheint irgendwas mit PHP 7.3 zu melden.

    Evtl. noch etwas im Cache?

    Grüße
    https://www.webdesign24.biz

    Kommentar


    • liebling65
      liebling65 kommentierte
      Kommentar bearbeiten
      Yes, ist PHP 8.1.13 (PHP 7.3 kann und konnte ich eh nicht einstellen) - var/cache hab ich geleert
      Das wars schonmal nicht.

  • #3
    Da kommt ein leeres Bild oder verwaistes Bild irgendwo rein.: "$file) must be of type Contao\\File, null given, called in /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Picture.php on line 93"

    Vielleicht den Datei-Sync einmal durchlaufen lassen und auch Symlinks neu erstellen. Sonst sukzessiv Elemente ausblenden und schauen welches Bild es ist.
    http://www.premium-contao-themes.com

    Kommentar

    Lädt...
    X