[TYPO3-dam] DAM / templavoila / FCE
pekue
peter.kuehn at wmdb.de
Sat Nov 15 18:03:56 CET 2008
Hi Christian,
Jochen Rieger had the same problem and posted in on t.p.templavoila on
09.08.:
> anyone experienced similar problems? Using dam_tv_connector I want to
> create an FCE containing a field of type "DAM images".
> Somehow this won't work as the following fatal error will occur:
> Fatal error: Cannot use string offset as an array in
/var/www/vhosts/earth/wdr3/typo3conf/ext/dam_tv_connector/class.user_dam_tv_connector.php
> on line 20
seems like in certain situations (in my case: editing an existing DS to
change a field from "image" to "DAM image") the incoming variable
$params['curValue'] is an (empty) string and not an array.
changing line 11 from
$curValue = &$params['curValue'];
to
if(is_array($params['curValue'])){
$curValue = &$params['curValue'];
}else{
$curValue = array();
}
solves the bug.
kind regards
pekue
Christian Welzel schrieb:
> Peter Kuehn [wmdb] wrote:
>
>> yes - I know and tried the dam_tv_connector which is realy helpfull
>> (besides the easy to fix bug in user_dam_tv_connector ;)) but christian
>
> Which one?
>
More information about the TYPO3-project-dam
mailing list