When I installed Charts module and went to its settings page I saw this error:

Fatal error: Call to undefined function: array_fill_keys() in /home/*******/domains/********/public_html/modules/charts/charts.inc on line 103

Simple question... What is wrong?

Comments

brmassa’s picture

Status: Active » Fixed

Povilas,

the module needs PHP 5.2 or later.

regards,

massa

POVYLAZZZ’s picture

Mmmm... This could be one of requirement in the module, I mean hat it would install at all if PHP ver is lower than 5.2.
Any way thanks for help ;)

dave reid’s picture

Title: Whatis tihs?.... » Add PHP 5 dependency to charts.info
Category: support » bug
Status: Fixed » Active

If your module required PHP 5 or higher, you should add the "php = 5" in your module's info file so people with PHP 4 cannot install it.
Please read: http://drupal.org/node/231036

brmassa’s picture

Status: Active » Fixed

Dave,

thanks a lot. Its now commited. Soon in the next release.

regards,

massa

Status: Fixed » Closed (fixed)

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