It seems that the alpha6 release doesn't work very well on my site. I'm experiencing some warnings, and i am unable to configure my charts in the Site configuration page. Here are the errors:
- warning: Wrong parameter count for explode() in /var/www/websites/drupal_repository_dev/sites/all/modules/charts/charts.inc on line 120.
- warning: array_shift() [function.array-shift]: The argument should be an array in /var/www/websites/drupal_repository_dev/sites/all/modules/charts/charts.inc on line 121.
- warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme__charts_settings' was given in /var/www/websites/drupal_repository_dev/includes/theme.inc on line 617.
Any ideas?
Thanks!
Comments
Comment #1
rezboom commentedI too am getting the first two warnings, not the third, though.
Comment #2
brmassa commentedGuys,
you have to clear the cache. Go to Settings > Performance and click to clear the cache.
It will be also needed to reenter the charts default settings.
regards,
massa
PS: im marking as fixed, but fell free to reopen it if needed
Comment #3
SethM commentedHey guys,
Errors:
* warning: Wrong parameter count for explode() in /sites/default/modules/charts/charts.inc on line 120.
* warning: array_shift() [function.array-shift]: The argument should be an array in /sites/default/modules/charts/charts.inc on line 121.
* warning: preg_match() expects parameter 2 to be string, array given in /includes/bootstrap.inc on line 771.
I installed the module and got the errors I mentioned.. I followed what was mentioned by brmassa, I went to Site Configuration > Performance and cleared my caches but the errors persist. Any ideas?
Thanks in advance.
Comment #4
SethM commentedDisabled Chart System and now only get this error:
warning: preg_match() expects parameter 2 to be string, array given in /includes/bootstrap.inc on line 771.
Comment #5
easp commentedI installed the module and went to the settings page and received:
Fatal error: Call to undefined function array_fill_keys() in /var/www/html/sites/default/modules/charts/charts.inc on line 103
Comment #6
brmassa commented@freeStyle,
i will check these bugs today. But i dont know why the 3rd bug is there.
@Eric
Charts module requires PHP 5.2 to work. This function is only on this version or later.
regards,
massa
Comment #7
easp commentedAhhhh, I am running PHP 5.1.6.
Could a minimum PHP requirement be added to the info file?
Comment #8
brmassa commented@Eric,
yep. i only noted because your report. i will put it in the next version.
regards,
massa
Comment #9
tigerkang commentedI am using PHP 5.2.9, but still face this problem. Can anyone tell me how to do, so that I can carry on trying this wonderful module.
Comment #10
brmassa commentedGuys,
sinde there is another bug report on http://drupal.org/node/473292, im going to centralize the there.
regards,
massa
Comment #11
kenorb commentedThe same problem.
Comment #12
ClearXS commentedComment #13
vasheck commentedThe same problem here. I tried everything suggested above... none of those fixed the issue for me....
Oops, seems like there's a few posts already dealing with it... my bad for not finding these first:
http://drupal.org/node/473292#comment-2974574
http://drupal.org/node/700956
Thanks!
Comment #14
kenorb commented#473292: PHP errors on Charts settings page