Hallo,
und erstmal vielen Dank für die Erweiterung - genau was ich gesucht habe!
Nun gibt es leider eine Fehlermeldung, und zwar beim Bearbeiten von EFG-Formulardaten.
Also leeres Formular/neuer Datensatz funktioniert, aber wenn ich einen vorhandenen bearbeiten will, kommt die Warnung.
Als Standardwert für ein Select-Menü setze ich einen Wert per Inserttag {{user::irgendwas}}
Contao 3.2.17
EFG 2.2.1
Ist das schonmal aufgetreten, oder hat jemand eine hilfreiche Idee?
Grüße,
Jan
Code:
Warning: preg_split() expects parameter 2 to be string, array given in system/modules/core/library/Contao/Controller.php on line 666
#0 [internal function]: __error(2, 'preg_split() ex...', '/homepages/37/d...', 666, Array)
#1 system/modules/core/library/Contao/Controller.php(666): preg_split('/\\{\\{(([^\\{\\}]*...', Array, -1, 2)
#2 system/modules/e-spin_form-scr-default/forms/FormSelectMenu.php(30): Contao\Controller->replaceInsertTags(Array)
#3 system/modules/efg/forms/ExtendedForm.php(390): FormScrDefault\FormSelectMenu->__set('value', Array)
#4 system/modules/core/classes/Hybrid.php(209): Efg\ExtendedForm->compile()
#5 system/modules/core/forms/Form.php(47): Contao\Hybrid->generate()
#6 system/modules/efg/modules/ModuleFormdataListing.php(3134): Contao\Form->generate()
#7 system/modules/efg/modules/ModuleFormdataListing.php(3018): Efg\ModuleFormdataListing->generateEditForm(Object(Contao\ContentModel), Object(Contao\Database\Mysqli\Result))
#8 system/modules/efg/modules/ModuleFormdataListing.php(713): Efg\ModuleFormdataListing->editSingleRecord()
#9 system/modules/core/modules/Module.php(139): Efg\ModuleFormdataListing->compile()
#10 system/modules/efg/modules/ModuleFormdataListing.php(476): Contao\Module->generate()
#11 system/modules/core/elements/ContentModule.php(54): Efg\ModuleFormdataListing->generate()
#12 system/modules/core/library/Contao/Controller.php(457): Contao\ContentModule->generate()
#13 system/modules/core/modules/ModuleArticle.php(187): Contao\Controller->getContentElement(Object(Contao\ContentModel), 'main')
#14 system/modules/core/modules/Module.php(139): Contao\ModuleArticle->compile()
#15 system/modules/core/modules/ModuleArticle.php(50): Contao\Module->generate()
#16 system/modules/core/library/Contao/Controller.php(393): Contao\ModuleArticle->generate(false)
#17 system/modules/core/library/Contao/Controller.php(255): Contao\Controller->getArticle(Object(Contao\ArticleModel), false, false, 'main')
#18 system/modules/core/pages/PageRegular.php(129): Contao\Controller->getFrontendModule('0', 'main')
#19 index.php(248): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#20 index.php(431): Index->run()
#21 {main}
Lesezeichen