Closed (fixed)
Project:
FusionCharts
Version:
6.x-1.x-dev
Component:
FusionCharts core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2009 at 07:05 UTC
Updated:
24 Feb 2009 at 06:25 UTC
Hi, I installed FC on D6.4 and am experiencing this error in the Create Content > FC node:
warning: array_unshift() [function.array-unshift]: The first argument should be an array in /homepages/7/d247427042/htdocs/dev/sites/all/modules/fusioncharts/fusioncharts_node/fusioncharts_node.module on line 76.
warning: Invalid argument supplied for foreach() in /homepages/7/d247427042/htdocs/dev/includes/form.inc on line 1412.
The Type of Chart dropdown is empty.
I think somebody already posted this problem before in another bug report but it wasn't answered specifically. Any ideas on how to fix this?
Thank you.
Comments
Comment #1
aaron1234nz commentedHi,
It sounds like the install didn't go right for you. During the install of the fusioncharts module a system variable is set which contains the list of charts. Somehow this does not appear to be set for you. If you uninstall and reinstall the main fusioncharts module (not fusioncharts_node) then the error should fix itself. This will not delete any data that you have already saved.
Comment #2
irinak commentedThank you. I reinstalled and it worked.