When i try to make a mp3 playlist, i got the error :
Fatal error: Unsupported operand types in C:\www\sites\all\modules\swftools\swftools.module on line 2287

Here is my syntax, it's inside a view theme row file:

$files = array();
$i = 0;
foreach ($node->field_prodmusic_extrait as $v) {
	$files[] = $node->field_prodmusic_extrait[$i]['view']; // the output is the URLpath in CCK
	$i++;
}
print swf($files);

Thanks for any helps

Comments

Stuart Greenfield’s picture

Can you try the latest SWF Tools dev release and see if this still happens? I was doing some work on the playlisting / file handling features and may have accidentally made a bad commit that you picked up.

Also, the line numbers are changing a lot at the moment, so if you run a test can you post the date/time of the package that you picked up so I can check I am looking in the right place - thanks!

flodevelop’s picture

Ok, I try with the latest dev version : 6.x-3.x-dev (2010-Mar-05)

Always the same error : Fatal error: Unsupported operand types in C:\wamp\www\sites\all\modules\swftools\swftools.module on line 2075

I desactivate the clean Urls, use check_plain() function but no results.

Stuart Greenfield’s picture

Status: Active » Needs review

Confirmed as a bug, and now fixed on DRUPAL-6--3.