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 |
Jump to:
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
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
I tried to be simple so I just chose a 2D Line chart.
#3
Any chance to look into this?
#4
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
That was it. There were commas in my data. Now I will give it a bigger work out this weekend.
#6
#7
Automatically closed -- issue fixed for 2 weeks with no activity.