Contao-Camp 2024
Ergebnis 1 bis 7 von 7

Thema: Fehlermeldung bei Isotope Modulen

  1. #1
    Contao-Fan Avatar von toto
    Registriert seit
    09.02.2010.
    Ort
    Bad Oeynhausen
    Beiträge
    386

    Standard Fehlermeldung bei Isotope Modulen

    Guten Morgen,
    ich habe letzte Woche den Browser geschlossen nachdem sich beim Preisberechnen noch der Prozess gearbeitet hat. Jetzt bekomme ich leider die Seiten nicht mehr geöffnet wo ein isotope Modul integriert ist und habe folgende Fehler im prod.log
    Code:
    [2021-10-25T10:07:01.096129+02:00] request.INFO: Matched route "tl_page.2". {"route":"tl_page.2","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.2","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://drucken-owl.de/preview.php/shop.html","method":"GET"} []
    [2021-10-25T10:07:01.173682+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Return value of Contao\CoreBundle\Util\LocaleUtil::formatAsLocale() must be of the type string, null returned" at /www/htdocs/w0118cb7/digitaldruck/vendor/contao/core-bundle/src/Util/LocaleUtil.php line 112 {"exception":"[object] (TypeError(code: 0): Return value of Contao\\CoreBundle\\Util\\LocaleUtil::formatAsLocale() must be of the type string, null returned at /www/htdocs/w0118cb7/digitaldruck/vendor/contao/core-bundle/src/Util/LocaleUtil.php:112)"}
    im dev.log steht folgendes:
    Code:
    [2021-10-25T09:41:16.814384+02:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction"},"request_uri":"https://drucken-owl.de/contao","method":"GET"} []
    [2021-10-25T09:41:16.819441+02:00] security.DEBUG: Read existing security token from the session. {"key":"_security_contao_backend","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
    [2021-10-25T09:41:16.851945+02:00] security.DEBUG: User was reloaded from a user provider. {"provider":"Contao\\CoreBundle\\Security\\User\\ContaoUserProvider","username":"admin"} []
    [2021-10-25T09:41:17.041059+02:00] security.DEBUG: Stored the security token in the session. {"key":"_security_contao_backend"} []
    [2021-10-25T09:41:17.376225+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"09de4c"},"request_uri":"https://drucken-owl.de/_wdt/09de4c","method":"GET"} []
    [2021-10-25T09:41:17.448548+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://drucken-owl.de/favicon.ico","method":"GET"} []
    [2021-10-25T09:41:17.649602+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2021-10-25T09:41:25.564896+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "No routes found for "/shop.html/"." [] []
    [2021-10-25T09:41:25.615943+02:00] request.INFO: Matched route "tl_page.2". {"route":"tl_page.2","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.2","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://drucken-owl.de/shop.html","method":"GET"} []
    [2021-10-25T09:41:25.629570+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2021-10-25T09:41:25.629758+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "No routes found for "/shop.html/"." [] []
    [2021-10-25T09:41:25.729044+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.729457+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.729658+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.729829+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.730027+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.730197+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.745045+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was unable to generate route. Reason: 'Route 'cmf_routing_object' not found': Unable to generate a URL for the named route "cmf_routing_object" as such route does not exist. [] []
    [2021-10-25T09:41:25.857788+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Return value of Contao\CoreBundle\Util\LocaleUtil::formatAsLocale() must be of the type string, null returned" at /www/htdocs/w0118cb7/digitaldruck/vendor/contao/core-bundle/src/Util/LocaleUtil.php line 112 {"exception":"[object] (TypeError(code: 0): Return value of Contao\\CoreBundle\\Util\\LocaleUtil::formatAsLocale() must be of the type string, null returned at /www/htdocs/w0118cb7/digitaldruck/vendor/contao/core-bundle/src/Util/LocaleUtil.php:112)"} []
    [2021-10-25T09:41:26.715430+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"d690ff"},"request_uri":"https://drucken-owl.de/_wdt/d690ff","method":"GET"} []
    [2021-10-25T09:42:14.246553+02:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction"},"request_uri":"https://drucken-owl.de/contao?do=debug&key=disable&ref=fp6OYbj3&referer=","method":"GET"} []
    [2021-10-25T09:42:14.250177+02:00] security.DEBUG: Read existing security token from the session. {"key":"_security_contao_backend","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} []
    [2021-10-25T09:42:14.276504+02:00] security.DEBUG: User was reloaded from a user provider. {"provider":"Contao\\CoreBundle\\Security\\User\\ContaoUserProvider","username":"admin"} []
    [2021-10-25T09:42:14.365030+02:00] security.DEBUG: Stored the security token in the session. {"key":"_security_contao_backend"} []
    [2021-10-25T09:42:14.387055+02:00] app.DEBUG: Executing cron job "Contao\CoreBundle\Cron\LegacyCron::onMinutely"
    ich hab schon versucht im Manager alle caches zu löschen, genau wie im browser selbst. Ich komme aber leider nicht weiter.

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

  3. #3
    Contao-Fan Avatar von toto
    Registriert seit
    09.02.2010.
    Ort
    Bad Oeynhausen
    Beiträge
    386

    Standard

    Ok, danke erstmal spooky,

    d.h. ich sollte erstmal wieder auf 4.12.2 zurück?

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

    Standard

    Füge in dieser Zeile mal folgendes ein:
    PHP-Code:
    $objJumpTo->loadDetails(); 
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    29.11.2015.
    Ort
    Aalen
    Beiträge
    10

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Füge in dieser Zeile mal folgendes ein:
    PHP-Code:
    $objJumpTo->loadDetails(); 
    Das gleiche Problem habe ich. Auch Contao-Version 4.12.3
    Das Einfügen von
    "$objJumpTo->loadDetails();"
    bringt nur andere Fehler mit sich.

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

    Standard

    Und welche Fehler?
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Nutzer
    Registriert seit
    29.11.2015.
    Ort
    Aalen
    Beiträge
    10

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Und welche Fehler?
    Nach dieser Rückfrage, habe ich mich noch einmal dran gesetzt, den Fehler nachzuverfolgen. Ich habe noch einmal nachgeschaut, was ich in Zeile 1081 eingegeben habe. War alles korrekt. (Ich hatte mir meine Änderung zwischengespeichert und danach wieder rückgängig gemacht). Also füge ich die Zeile noch einmal ein. Versuche den Fehler zu reproduzieren.
    Und....
    Nichts. Kein Fehler mehr. Es funktioniert. Für mich nicht nachvollziehbar. Wenn es funktioniert, ist erst einmal alles gut.
    Ich werde das weiter verfolgen. Falls das noch einmal auftritt, melde ich mich hier noch einmal.

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
  •