When I run cron.php I get this error message.

Fatal error: Call to undefined function charts_chart() in /var/www/includes/common.inc(1641) : eval()'d code on line 27

I have disabled the module and uninstalled but it doesn't fix the problem, any ideas on how I can troubleshoot where the issue is.

I am using Drupal 6.8

Cheers Dan

Comments

nmashruwala’s picture

Title: cron.php » Fatal error: Call to undefined function charts_chart() during cron run (was cron.php)

I experienced this too. I uninstalled charts then deleted the sites/all/modules/charts directory. It doesn't matter if I run cron.php through the gui or from the command line, I still get:

Fatal error: Call to undefined function charts_chart() in /opt/drupal/6.6/includes/common.inc(1547) : eval()'d code on line 13

I'm running D6.10, Apache, MySQL, have php5.

Does anyone have any ideas?

nmashruwala’s picture

I found that there was some php content that displayed a chart and attempting to index that is what broke the cron run. I deleted that node, and cron ran again.

brmassa’s picture

Status: Active » Fixed

Guys,

i just decided to use Karen's Views Calc integration as the main Charts + Views feature. Its very complete and... works!

I had not the time to take a better look into your code, so the new code might not fix you problem. I suggest to take a look into the new DEV (or the next official release) and reopen this issue if you consider necessary.

regards,

massa

Status: Fixed » Closed (fixed)

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