Liebe Contao Gemeinde
Seit meinem letzten Update (gestern) spuckt mir meine Contao Installation ein fehlerhaftes HTML aus.
Ich habe ein "Doppeltes HTML" wenn ich den Quellcode meiner Seite anschaue:
HTML-Code:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Unbenanntes Dokument</title>
</head>
<body>
</body>
</html><!DOCTYPE html>
<html lang="de">
<head>
......
Es wird eine "leere" HTML Seite generiert, bevor dann erst die Richtige Seite beginnt.
Wenn ich den Production Cache neu aufbauen will bekomme ich folgenden Fehler in der Konsole:
HTML-Code:
// Warming up the cache for the dev environment with debug
// true
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Unbenanntes Dokument</title>
</head>
<body>
</body>
</html>08:42:56 ERROR [console] Error thrown while running command "cache:warmup --env=dev". Message: "Warning: Use of undefined constant size - assumed 'size' (this will throw an Error in a future version of PHP)" ["exception" => Symfony\Component\Debug\Exception\ContextErrorException { …},"command" => "cache:warmup --env=dev","message" => "Warning: Use of undefined constant size - assumed 'size' (this will throw an Error in a future version of PHP)"]
Aktuell benutze ich PHP 7.2.1. Wenn ich auf PHP 7.1.21 Runter gehe, kann ich zwar die Caches neu aufbauen, die Seite Funktioniert aber leider nicht.
Weiss jemand was ich da falsch mache?
für etwas Hilfe währe ich sehr dankbar.
lg
Sascha
((Contao 4.4.40, PHP 7.2.1, Contao Manager 1.1.6))
Lesezeichen