Hallo zusammen
Ich habe ein Formular erstellt und will es eigentlich mit dem Notification Center verschicken.
Das Fussformular und Kontaktformular funktioniert einwandfrei, aber bei einem grösseren Formular funktioniert es leider nicht, ich become immer folgende Fehlermeldung:
Code:
Fatal error: Uncaught exception Exception with message Error parsing simple tokens ( Parse error: syntax error, unexpected 'endif' (T_ENDIF) in D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\library\Contao\String.php(520) : eval()'d code on line 30 ) thrown in D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\library\Contao\String.php on line 527 #0 D:\www\www735\testumgebung\zegarelli-neu\system\modules\haste\library\Haste\Util\StringUtil.php(59): Contao\String::parseSimpleTokens('Sehr geehrte(r)...', Array)
#1 D:\www\www735\testumgebung\zegarelli-neu\system\modules\notification_center\library\NotificationCenter\MessageDraft\EmailMessageDraft.php(143): Haste\Util\StringUtil::recursiveReplaceTokensAndTags('Sehr geehrte(r)...', Array, 1)
#2 D:\www\www735\testumgebung\zegarelli-neu\system\modules\notification_center\library\NotificationCenter\Gateway\Email.php(96): NotificationCenter\MessageDraft\EmailMessageDraft->getTextBody()
#3 D:\www\www735\testumgebung\zegarelli-neu\system\modules\notification_center\library\NotificationCenter\Model\Message.php(54): NotificationCenter\Gateway\Email->send(Object(NotificationCenter\Model\Message), Array, 'de')
#4 D:\www\www735\testumgebung\zegarelli-neu\system\modules\notification_center\library\NotificationCenter\Model\Notification.php(49): NotificationCenter\Model\Message->send(Array, 'de')
#5 D:\www\www735\testumgebung\zegarelli-neu\system\modules\notification_center\classes\tl_form.php(63): NotificationCenter\Model\Notification->send(Array, 'de')
#6 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\forms\Form.php(486): NotificationCenter\tl_form->sendFormNotification(Array, Array, Array, Array, Object(Contao\Form))
#7 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\forms\Form.php(221): Contao\Form->processFormData(Array, Array)
#8 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\classes\Hybrid.php(219): Contao\Form->compile()
#9 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\forms\Form.php(59): Contao\Hybrid->generate()
#10 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\library\Contao\Controller.php(469): Contao\Form->generate()
#11 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\modules\ModuleArticle.php(187): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#12 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\modules\Module.php(154): Contao\ModuleArticle->compile()
#13 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\modules\ModuleArticle.php(50): Contao\Module->generate()
#14 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\library\Contao\Controller.php(405): Contao\ModuleArticle->generate(false)
#15 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\library\Contao\Controller.php(269): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#16 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\pages\PageRegular.php(129): Contao\Controller::getFrontendModule('0', 'main')
#17 D:\www\www735\testumgebung\zegarelli-neu\system\modules\core\controllers\FrontendIndex.php(244): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#18 D:\www\www735\testumgebung\zegarelli-neu\index.php(20): Contao\FrontendIndex->run()
#19 {main}
Was bedeutet das genau ? Wo liegt da genau der Fehler ?
Vielen Dank und Grüsse
Michi
Lesezeichen