Nachdem im Beitrag https://community.contao.org/de/show...Escaper()-quot geklärt wurde das es am TWIG Paket hängt habe ich hier den nächsten Fall.
Heute morgen ein 5.3 LTS installiert ohne Probleme.
Nun wollte ich Pakete nachinstallieren und er bricht beim Maintance Mode aktivieren ab:
Als ich es in der Konsole machen wollte, bekam ich diese Meldung:
Code:
php81 vendor/bin/contao-console contao:maintenance-mode enable
12:09:49 CRITICAL [console] Error thrown while running command "contao:maintenance-mode enable". Message: "An exception has been thrown during the rendering of a template ("Too few arguments to function Contao\CoreBundle\
Twig\Interop\ContaoEscaper::escapeHtml(), 2 passed in /www/htdocs/w01e9c93/Contao-LTS/vendor/twig/twig/src/Extension/EscaperExtension.php on line 135 and exactly 3 expected")." ["exception" => Twig\Error\RuntimeError^ { …}
,"command" => "contao:maintenance-mode enable","message" => "An exception has been thrown during the rendering of a template ("Too few arguments to function Contao\CoreBundle\Twig\Interop\ContaoEscaper::escapeHtml(), 2 pas
sed in /www/htdocs/w01e9c93/Contao-LTS/vendor/twig/twig/src/Extension/EscaperExtension.php on line 135 and exactly 3 expected")."]
In layout.html.twig line 3:
An exception has been thrown during the rendering of a template ("Too few arguments to function Contao\CoreBundle\Twig\Interop\ContaoEscaper::escapeHtml(), 2 passed in /www/htdocs/w01e9c93/Contao-LTS/vendor/twig/twig/
src/Extension/EscaperExtension.php on line 135 and exactly 3 expected").
In ContaoEscaper.php line 36:
Too few arguments to function Contao\CoreBundle\Twig\Interop\ContaoEscaper::escapeHtml(), 2 passed in /www/htdocs/w01e9c93/Contao-LTS/vendor/twig/twig/src/Extension/EscaperExtension.php on line 135 and exactly 3 expec
ted
contao:maintenance-mode [-t|--template TEMPLATE] [--templateVars [TEMPLATEVARS]] [--format FORMAT] [--] [<state>]
Lesezeichen