Invalid argument Line 251 fusioncharts.module

tootsietorres - March 3, 2009 - 21:21
Project:FusionCharts
Version:6.x-1.x-dev
Component:FusionCharts core
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I installed this module yesterday, along with FusionCharts Free and the Colorpicker Module. I realize this is under development, but I tried to do a test chart with 12 basic data points and I got the following error:

warning: Invalid argument supplied for foreach() in /sites/all/modules/fusioncharts/fusioncharts.module on line 251

I check out line 251 at this is what is there: foreach ($clean_data as $column) {

I haven't had much time to look into the code further, but thought I would see if anyone else is running into this.
BTW, I also updated to Drupal 6.10 yesterday.

-Tootsie

#1

aaron1234nz - March 3, 2009 - 22:37

Thanks for reporting it, I will take a look into that. BTW can you tell me what type of chart you were trying to make. I will help with narrowing down the error.

#2

tootsietorres - March 4, 2009 - 12:48

I tried to be simple so I just chose a 2D Line chart.

#3

tootsietorres - March 8, 2009 - 22:14

Any chance to look into this?

#4

aaron1234nz - March 8, 2009 - 22:47

have you tried the latest -dev version. I've changed a couple of things around where this error occurred.

Can you also check your data. The second column should only contain numbers

#5

tootsietorres - March 13, 2009 - 15:25

That was it. There were commas in my data. Now I will give it a bigger work out this weekend.

#6

aaron1234nz - March 13, 2009 - 23:53
Status:active» fixed

#7

System Message - March 28, 2009 - 00:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.