Project

General

Profile

Actions

Bug #15899

closed

Creating content element with new templavoila causes the following error when editing page properties

Added by David Toshack about 18 years ago. Updated about 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-03-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF