[Typo3] Problem with flex form field

Steven Bagshaw steven.bagshaw at unv.org
Fri Feb 25 18:15:07 CET 2005


Hi,

Anyone had this before? I have a flex value in an extension table. When I
save a NEW record of that type, I get an error appearing at the top of the
BE page - "Warning: Illegal offset type in
C:\WWW\cms\typo3\t3lib\class.t3lib_befunc.php on line 956"

But if I then save that record again, the error does not appear again. If I
look at the database after the insert, the data appears to be OK and
on-screen it appears to be fine. But I have some subclasses of t3lib_TCEmain
that are just not working as expected.

Any ideas?

I have added a column to a db table called "ds_docinst" type TEXT.

In my TCA I have this...

'ds_docinst' => Array (
            "exclude" => 1,
            "label" =>
"LLL:EXT:user_unvcms/locallang_db.php:user_unvcms_docs.ds_docinst",
            "config" => Array (
                'type' => 'flex',
                'ds_pointerField' => 'ds_docinst',
                'ds' => array(
                      'default' => 'FILE:EXT:user_unvcms/unvdoc.xml',
                )
             )
        ),

Any help greatly appreciated!

Steve





More information about the TYPO3-english mailing list