Fehler: Warning: Undefined array key "uploadPath"

Kim Wormer's Avatar

Kim Wormer

20 Jun, 2023 08:32 PM

Produkt: Tao Contao
Contao-Version: 5.1

Hi Martin,

in PHP8.1 und Contao 5.1 bekomme ich im Tao den Fehler:
Warning: Undefined array key "uploadPath"

ErrorException:
Warning: Undefined array key "uploadPath"

at templates/tao/js_modernizr.html5:3 at include('/Users/kim/develop/mamp/huth/contao-4-13-x/templates/tao/js_modernizr.html5') (vendor/contao/core-bundle/contao/library/Contao/TemplateInheritance.php:109) at Contao\Template->inherit() (vendor/contao/core-bundle/contao/library/Contao/Template.php:290) at Contao\Template->parse() (vendor/contao/core-bundle/contao/classes/FrontendTemplate.php:43) at Contao\FrontendTemplate->parse() (vendor/contao/core-bundle/contao/pages/PageRegular.php:597) at Contao\PageRegular->createFooterScripts(object(PageModel), object(LayoutModel)) (vendor/contao/core-bundle/contao/pages/PageRegular.php:237) at Contao\PageRegular->prepare(object(PageModel)) (vendor/contao/core-bundle/contao/pages/PageRegular.php:46) at Contao\PageRegular->getResponse(object(PageModel), true) (vendor/contao/core-bundle/contao/controllers/FrontendIndex.php:76) at Contao\FrontendIndex->renderPage(object(PageModel)) (vendor/symfony/http-kernel/HttpKernel.php:166) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:74) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:197) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/preview.php:46)

  1. 1 Posted by Kim on 20 Jun, 2023 08:34 PM

    Kim's Avatar

    Oh nein, falscher Alarm, das Template hat gefehlt :see_no_evil: hatte davor die Scripts eingefügt und war genau da auch beim Modernizr, sodass ich den Template-Pfad gar nicht wahrgenommen hatte. Sorry!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac