Needs review
Project:
SWF Tools
Version:
6.x-3.x-dev
Component:
SWF Tools
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2010 at 16:06 UTC
Updated:
7 Mar 2010 at 23:26 UTC
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
Comment #1
Stuart Greenfield commentedCan 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!
Comment #2
flodevelop commentedOk, 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.
Comment #3
Stuart Greenfield commentedConfirmed as a bug, and now fixed on DRUPAL-6--3.