Project

General

Profile

Actions

Bug #15338

closed

PHP 5: No saving of forms possible with Dynaflex Extension

Added by Franz Holzinger almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-12-30
Due date:
% Done:

0%

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

Description

When I save the dataset form in the backend, it always ends with an error message:

Fatal error: Cannot use string offset as an array in /var/www/html/typo3cvs/TYPO3core/t3lib/class.t3lib_tcemain.php on line 1939:

if (is_array($dsConf['TCEforms']['config']) && is_array($dataValues[$key])) {

This happens only with PHP 5 and comes because $dsConf is empty.

(issue imported from #M2141)

Actions #1

Updated by Franz Holzinger almost 19 years ago

Solution:

Change the line to:

if (is_array($dsConf) && is_array($dsConf['TCEforms']['config']) && is_array($dataValues[$key])) {

Actions #2

Updated by Thomas Hempel almost 19 years ago

This can be closed!
It's not a bug in the core but a wrong configuration of dynaflex in commerce.

Greets,
Thomas

Actions #3

Updated by Sebastian Kurfuerst almost 19 years ago

no bug. closing it...

Actions

Also available in: Atom PDF