Fehler nachdem die Website funktioniert
Hallo zuammen,
nach einem Update von 4.4 auf 4.13 ist eine Website nach ~1-2 Stunden nicht mehr aufrufbar.
Fehlerausgabe:
Code:
2023-01-30T23:04:01.349700+01:00] request.INFO: Matched route "tl_page.168". {"route":"tl_page.168","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.168","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.168","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.domain.com/de/page.html?cid=3307&file=files%2FFArchiv-E-Paper%2F2020%20d%2FBB_28_2020_d.pdf","method":"GET"} []
[2023-01-30T23:04:01.351561+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Value of type null is not callable" at /home/cortepre/www/domain.com/vendor/symfony/var-exporter/LazyGhostTrait.php line 61 {"exception":"[object] (Error(code: 0): Value of type null is not callable at /home/cortepre/www/domain.com/vendor/symfony/var-exporter/LazyGhostTrait.php:61)"} []
[2023-01-30T23:08:11.143133+01:00] request.INFO: Matched route "tl_page.2.fallback". {"route":"tl_page.2.fallback","route_parameters":{"_token_check":true,"_controller":"Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController::urlRedirectAction","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2","parameters":"","pageModel":{"Contao\\PageModel":[]},"path":"/de/","permanent":false,"_route":"tl_page.2.fallback","_route_object":{"Symfony\\Component\\Routing\\Route":[]}},"request_uri":"https://www.domain.com/","method":"GET"} []
[2023-01-30T23:08:11.145059+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Value of type null is not callable" at /home/cortepre/www/domain.com/vendor/symfony/var-exporter/LazyGhostTrait.php line 61 {"exception":"[object] (Error(code: 0): Value of type null is not callable at /home/cortepre/www/domain.com/vendor/symfony/var-exporter/LazyGhostTrait.php:61)"} []
Contao 4.13.15, PHP 8.1, Hoster hostpoint.ch
composer.json:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"contao/calendar-bundle": "^4.13",
"contao/comments-bundle": "^4.13",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.13",
"contao/listing-bundle": "^4.13",
"contao/manager-bundle": "^4.13",
"contao/news-bundle": "^4.13",
"contao/newsletter-bundle": "^4.13",
"jrgregory/m17-sticky-backend-footer": "^2.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-frontend-helper": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0",
"terminal42/contao-changelanguage": "^3.1"
},
"conflict": {
"contao/core-bundle": "<4.4.8"
},
"config": {
"component-dir": "assets"
},
"extra": {
"branch-alias": {
"dev-4.4": "4.4.x-dev"
},
"public-dir": "web"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Ein mehrfaches Aufrufen der Website zeigt diese dann wieder an.
Hat jemand diesen Fehler schon gehabt?
Danke für Hinweise.
Selbes Problem bei mir ...
Konnte hier schon eine Ursache ausgemacht werden?
Ich habe folgendes, seltsames Problem, irgendwann (nach ca. einer Woche) verabschiedet sich das Frontend (nur das Frontend) mit einem 500er Fehler
Es handelt sich um Contao 4.13.16
Code:
[2023-03-07T15:30:35.610790+01:00] request.CRITICAL: Uncaught PHP Exception Error: "Value of type null is not callable" at /var/www/vhosts/xxxxx.xxxxx.dogado.net/xxxxxxxx/xxxxxx/contao_4_13/vendor/symfony/var-exporter/LazyGhostTrait.php line 62 {"exception":"[object] (Error(code: 0): Value of type null is not callable at /var/www/vhosts/xxxxxx.xxxx.dogado.net/xxxxxx/xxxxxx/contao_4_13/vendor/symfony/var-exporter/LazyGhostTrait.php:62)"} []
Der Fehler lässt sich beheben, indem die PHP-Version auf dem Server umgestellt wird (egal auf was - wir hatten Erfolg mit einer Umstellung zwischen 8.1.9 und 2.2 - egal in welche Richtung)
Was könnte die Ursache sein?
Gruß
Timon