Download & Extend

array_unshift() error in FC node UI

Project:FusionCharts
Version:6.x-1.x-dev
Component:FusionCharts core
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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.

#2

Component:User interface» FusionCharts core
Status:fixed» closed (fixed)

Thank you. I reinstalled and it worked.