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

aaron1234nz’s picture

Status: Active » Fixed

Hi,

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.

irinak’s picture

Component: User interface » FusionCharts core
Status: Fixed » Closed (fixed)

Thank you. I reinstalled and it worked.