Bug #15899
closedCreating content element with new templavoila causes the following error when editing page properties
0%
Description
Warning: array_unique(): The argument should be an array in root_path_to_TYPO3core_directory/t3lib/class.t3lib_tceforms.php on line 2076
Warning: in_array(): Wrong datatype for second argument in root_path_to_TYPO3core_directory/t3lib/class.t3lib_tceforms.php on line 2087
Fatal error: Only variables can be passed by reference in root_path_to_TYPO3core_directory/t3lib/class.t3lib_tceforms.php on line 2088
Doesn't happen with TER version. Problem occured with HEAD & templavoila-0-6-0 tag
Seems to be something to do with language metadata. Corrosponding lines:
Line 2076: $editData['meta']['currentLangId'] = array_unique($editData['meta']['currentLangId']);
Line 2087: if (!in_array('DEF',$editData['meta']['currentLangId'])) {
Line 2088: array_unshift($editData['meta']['currentLangId'],'DEF');
(issue imported from #M2989)