Nach dem Update von 4.8.7 auf 4.9 habe ich die Erweiterung "contao-speed-bundle" von Heimrich & Hannot deinstalliert, da das Lazy-Loading ja nun Bestandteil des Cores ist.
Nach der Deiinstallation bekomme ich die Fehlermeldung (Stacktrace)
Code:
Could not find template "js_lazyload"
at /www/htdocs/xxxxx/xxxxx.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:158
at Contao\TemplateLoader::getDefaultPath('js_lazyload', 'html5')
(/www/htdocs/xxxxx/xxxxx.de/.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:114)
at Contao\TemplateLoader::getPath('js_lazyload', 'html5', 'templates/xxxxxx')
(/www/htdocs/xxxxx/xxxxx.de/.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:72)
at Contao\Controller::getTemplate('js_lazyload')
(/www/htdocs/xxxxx/xxxxx.de/.de/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:324)
at Contao\Template->getTemplatePath('js_lazyload', 'html5')
...
Installiere ich die Erweiterung wieder, funktioniert alles.
Ich interpretiere die Fehlermeldung so, dass in meinem Template-Ordner die js_lazyload fehlt. Diese war dort aber nie vorhanden.
Wo liegt also der Haken?
Lesezeichen