Hallo zusammen,
hab beim Test-Aufbau einer Website für die Tafeln ein Problem mit dem Abschicken des Formulars.
Hab den Debug-Modus mal aktiviert.
Vielleicht kann mir jemand helfen:
https://tafeln.leut-vom-see.com/kontakt.html
Hallo zusammen,
hab beim Test-Aufbau einer Website für die Tafeln ein Problem mit dem Abschicken des Formulars.
Hab den Debug-Modus mal aktiviert.
Vielleicht kann mir jemand helfen:
https://tafeln.leut-vom-see.com/kontakt.html
Schöne Grüsse vom Bodensee
Nutze den Debug-Modus und poste den Stacktrace
Code:ErrorException: Warning: Undefined array key "url" at vendor/contao-themes-shop/core-bundle/contao/classes/contao/helper/ImageHelper.php:40 at esit\ctscore\classes\contao\helper\ImageHelper::compile(array('alternativ' => 'Tafeln im Kreis Konstanz', 'title' => 'Tafeln im Kreis Konstanz', 'href' => '{{link_url::245}}', 'size' => array('crop', '200', '112'), 'addFigure' => false, 'ctsaddimage' => true, 'singleSRC' => 'a24a8051-0632-11ef-9d28-b42e99866a4b'), 'ce_inc_ctsimage') (vendor/contao-themes-shop/core-bundle/contao/classes/contao/helper/ImageHelper.php:106) at esit\ctscore\classes\contao\helper\ImageHelper::getImage(array('a24a8051-0632-11ef-9d28-b42e99866a4b'), array('alternativ' => 'Tafeln im Kreis Konstanz', 'title' => 'Tafeln im Kreis Konstanz', 'href' => '{{link_url::245}}', 'size' => array('crop', '200', '112'), 'addFigure' => false, 'ctsaddimage' => true, 'singleSRC' => 'a24a8051-0632-11ef-9d28-b42e99866a4b')) (templates/elementgenerator/cts_ctslogo.html5:11) at include('/www/htdocs/w01b0400/tafeln.leut-vom-see.com/templates/elementgenerator/cts_ctslogo.html5') (vendor/contao/core-bundle/contao/library/Contao/TemplateInheritance.php:109) at Contao\Template->inherit() (vendor/contao/core-bundle/contao/library/Contao/Template.php:287) at Contao\Template->parse() (vendor/contao/core-bundle/contao/classes/FrontendTemplate.php:43) at Contao\FrontendTemplate->parse() (vendor/contao-themes-shop/element-generator-bundle/contao/classes/contao/output/OutputTemplate.php:94) at esit\ctselemgen\classes\contao\output\OutputTemplate->parse() (vendor/contao-themes-shop/element-generator-bundle/contao/classes/contao/output/CtsOutput.php:95) at esit\ctselemgen\classes\contao\output\CtsOutput->ouput() (vendor/contao-themes-shop/element-generator-bundle/contao/classes/contao/elements/ElementCtsGenerator.php:72) at esit\ctselemgen\classes\contao\elements\ElementCtsGenerator->genFeOutput() (vendor/contao-themes-shop/element-generator-bundle/contao/classes/contao/elements/ElementCtsGenerator.php:44) at esit\ctselemgen\classes\contao\elements\ElementCtsGenerator->compile() (vendor/contao/core-bundle/contao/elements/ContentElement.php:241) at Contao\ContentElement->generate() (vendor/contao/core-bundle/contao/library/Contao/Controller.php:600) at Contao\Controller::getContentElement(object(ContentModel), 'main') (vendor/contao/core-bundle/contao/modules/ModuleArticle.php:189) at Contao\ModuleArticle->compile() (vendor/contao/core-bundle/contao/modules/Module.php:213) at Contao\Module->generate() (vendor/contao/core-bundle/contao/modules/ModuleArticle.php:69) at Contao\ModuleArticle->generate(true) (vendor/contao/core-bundle/contao/library/Contao/Controller.php:495) at Contao\Controller::getArticle('header-configuration-standard', false, true) (vendor/contao/core-bundle/src/InsertTag/Resolver/LegacyInsertTag.php:270) at Contao\CoreBundle\InsertTag\Resolver\LegacyInsertTag->__invoke(object(ResolvedInsertTag)) (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:420) at Contao\CoreBundle\InsertTag\InsertTagParser->renderSubscription(object(ResolvedInsertTag), true) (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:392) at Contao\CoreBundle\InsertTag\InsertTagParser->executeReplace(object(ParsedSequence), true, object(OutputType)) (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:133) at Contao\CoreBundle\InsertTag\InsertTagParser->replace('<!-- Den Inhalt finden Sie in der Atikeluebersicht unter Header - Configuration - Artikel Header-Configuration-Standard -->{{insert_article::header-configuration-standard}}') (vendor/contao/core-bundle/contao/library/Contao/TemplateInheritance.php:153) at Contao\Template->inherit() (vendor/contao/core-bundle/contao/library/Contao/Template.php:287) at Contao\Template->parse() (vendor/contao/core-bundle/contao/classes/FrontendTemplate.php:43) at Contao\FrontendTemplate->parse() (vendor/contao/core-bundle/contao/modules/Module.php:244) at Contao\Module->generate() (vendor/contao/core-bundle/contao/library/Contao/Controller.php:410) at Contao\Controller::getFrontendModule(object(ModuleModel), 'header') (vendor/contao/core-bundle/contao/pages/PageRegular.php:177) at Contao\PageRegular->prepare(object(PageModel)) (vendor/contao/core-bundle/contao/pages/PageRegular.php:47) at Contao\PageRegular->getResponse(object(PageModel), true) (vendor/contao/core-bundle/contao/controllers/FrontendIndex.php:65) at Contao\FrontendIndex->renderPage(object(PageModel)) (vendor/symfony/http-kernel/HttpKernel.php:181) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:76) 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)) (web/index.php:42)
Geändert von Spooky (08.05.2024 um 16:05 Uhr) Grund: added [code] tags
Schöne Grüsse vom Bodensee
Hat nichts mit dem eigentlichen Problem zu tun, wichtig ist der Stacktrace des Fehlers, der nach dem Formularversand auftritt.ErrorException:
Warning: Undefined array key "url"
Um dem 'undefined array key "url"'-Warning zu umgehen, kannst du in deiner config/config.yml folgendes eintragen:
Lösche danach den Cache und poste nochmal den richtigen Stacktrace der Fehlermeldung beim Formularversand.Code:contao: error_level: 8181
[2024-05-08T16:17:46.988173+02:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchI ndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","handler":"Contao\\CoreBundle\ \Messenger\\MessageHandler\\SearchIndexMessageHand ler::__invoke"} {"request_uri":"https://tafeln.leut-vom-see.com/kontakt.html","request_method":"POST"}
Schöne Grüsse vom Bodensee
^
Das ist nur eine Information, nicht der Fehler.
- Folge bitte meinem Rat und setze erstmal das contao error level auf 8181 wie in meiner vorherigen Nachricht beschrieben.
- Lösche danach den Cache (über Manager oder SFTP).
- Gehe ins Frontend zum Kontaktformular.
- Sende es nochmal ab und poste den Stacktrace.
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Lesezeichen