Ergebnis 1 bis 3 von 3

Thema: Fehler nach Upgrade auf 5.3.1

  1. #1
    Contao-Fan
    Registriert seit
    17.11.2012.
    Beiträge
    528

    Standard Fehler nach Upgrade auf 5.3.1

    Guten Tag

    Nach einem Upgrade von 4.13.37 auf 5.3.1 und PHP 8.3.3 erhalte ich im Frondend beim Seitenaufruf die Standard-Fehlermeldung. In /var/logs/ wird mir Folgendes angezeigt:

    Code:
    [2024-03-11T14:23:04.010642+01:00] request.INFO: Matched route "tl_page.3". {"route":"tl_page.3","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.3","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.3","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://yyyyyy.xx/los.html","method":"GET"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.374390+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.374557+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.374645+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.460522+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.460658+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.460707+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.475289+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "TL_ASSETS_URL"" at moo_mediabox.html5 line 11 {"exception":"[object] (Error(code: 0): Undefined constant \"TL_ASSETS_URL\" at /home/zzzzzz/www/yyyyyy.xx/templates/moo_mediabox.html5:11)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.529432+01:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMessage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallbackTransport {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","alias":"contao_prio_low","sender":"Contao\\CoreBundle\\Messenger\\Transport\\AutoFallbackTransport"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.531734+01:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMessage {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:04.535843+01:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMessage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchIndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","handler":"Contao\\CoreBundle\\Messenger\\MessageHandler\\SearchIndexMessageHandler::__invoke"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.368996+01:00] request.INFO: Matched route "tl_page.3". {"route":"tl_page.3","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.3","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.3","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://yyyyyy.xx/los.html","method":"GET"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.577310+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.577410+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.577453+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.629675+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.629780+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.629824+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.636220+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "TL_ASSETS_URL"" at moo_mediabox.html5 line 11 {"exception":"[object] (Error(code: 0): Undefined constant \"TL_ASSETS_URL\" at /home/zzzzzz/www/yyyyyy.xx/templates/moo_mediabox.html5:11)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.659087+01:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMessage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallbackTransport {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","alias":"contao_prio_low","sender":"Contao\\CoreBundle\\Messenger\\Transport\\AutoFallbackTransport"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.660194+01:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMessage {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.661642+01:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMessage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchIndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","handler":"Contao\\CoreBundle\\Messenger\\MessageHandler\\SearchIndexMessageHandler::__invoke"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.641636+01:00] request.INFO: Matched route "tl_page.3". {"route":"tl_page.3","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.3","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.3","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://yyyyyy.xx/los.html","method":"GET"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.955224+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.955329+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.955377+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.022286+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.022443+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.022515+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.045792+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "TL_ASSETS_URL"" at moo_mediabox.html5 line 11 {"exception":"[object] (Error(code: 0): Undefined constant \"TL_ASSETS_URL\" at /home/zzzzzz/www/yyyyyy.xx/templates/moo_mediabox.html5:11)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.129645+01:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMessage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallbackTransport {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","alias":"contao_prio_low","sender":"Contao\\CoreBundle\\Messenger\\Transport\\AutoFallbackTransport"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.131541+01:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMessage {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.138500+01:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMessage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchIndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","handler":"Contao\\CoreBundle\\Messenger\\MessageHandler\\SearchIndexMessageHandler::__invoke"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:05.939458+01:00] request.INFO: Matched route "tl_page.3". {"route":"tl_page.3","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.3","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.3","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://yyyyyy.xx/los.html","method":"GET"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.128525+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.128752+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.128895+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.212456+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.212648+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.212740+01:00] php.WARNING: Warning: Undefined array key "class" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"class\" at /home/zzzzzz/www/yyyyyy.xx/vendor/contao/core-bundle/contao/templates/rss/rss_items_only.html5:6)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.222800+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Undefined constant "TL_ASSETS_URL"" at moo_mediabox.html5 line 11 {"exception":"[object] (Error(code: 0): Undefined constant \"TL_ASSETS_URL\" at /home/zzzzzz/www/yyyyyy.xx/templates/moo_mediabox.html5:11)"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.253027+01:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMessage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallbackTransport {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","alias":"contao_prio_low","sender":"Contao\\CoreBundle\\Messenger\\Transport\\AutoFallbackTransport"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.254738+01:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMessage {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    [2024-03-11T14:23:06.260430+01:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMessage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchIndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\SearchIndexMessage","handler":"Contao\\CoreBundle\\Messenger\\MessageHandler\\SearchIndexMessageHandler::__invoke"} {"request_uri":"https://yyyyyy.xx/los.html","request_method":"GET"}
    Hierbei fällt mir auf, dass häufig "Warning" vorkommt. Aber mindestens ein Fehler ist sicher irgendwo - für mich versteckt - angezeigt. Im Moment weiss ich nicht mal, was für einen präziseren Thementitel ich hier im Forum setzen soll.

    Kann mir jemand sagen, in welche Richtung ich für die Problemlösung gehen soll?

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

    Standard

    Du hast ein Template namens "moo_mediabox" in deinem Seitenlayout ausgewählt und in diesem Template befindet sich Code, der nicht mit Contao 5 kompatibel ist.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan
    Registriert seit
    17.11.2012.
    Beiträge
    528

    Standard

    Vielen Dank Spooky, ich bin weitergekommen. Ermutigt durch deinen Tipp habe ich die Meldungen noch genauer durchforstet. Das Meiste sagt mir kaum etwas. Aber ich habe noch 2-3 Begriffe gefunden, die mich an irgendeinen Punkt der Installation erinnert haben. Und als ich dort nachgesehen habe, war tatsächlich etwas nicht so, wie es sein sollte. ZB beim «RSS-Feed»-Modul stand im Layout «veraltet». Nach dem Entfernen des Moduls sah die Seite nochmals besser aus.

    Bericht eines Senioren.

Aktive Benutzer

Aktive Benutzer

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

Berechtigungen

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