Does anybody know how to resolve this? The complete text is:

Fatal error: Call to undefined function form_token() in /home/friend01/drupal/includes/common.inc(1685) : eval()'d code on line 2

You can see it for yourself at http://friendsoffamilypaths.org/cron.php

Please help, this site is barely customized at all, so I'm a bit mystified what's happening. Searching the intertubes hasn't provided me with any help either, sadly.

Comments

dawehner’s picture

Status: Active » Closed (won't fix)
Fatal error: Call to undefined function form_token() in /home/friend01/drupal/includes/common.inc(1685) : eval()'d code on line 2

You have something in eval: for example in a block. You have to find it, and fix for yourself.

mlissner’s picture

Are there any easy ways to figure that out? I looked around at all the code I could think of, and I have no idea why this is happening. This site only has one custom block, and it just shows a picture.

nir’s picture

Hi,

I'm having a similar problem, the cron doesn't work with a function I defined in my theme (I'm using drupal 6.14 and a blueprint based theme)

Fatal error: Call to undefined function blueprint_custom_image_breadcrumbs() in /home/popular/www/www/includes/common.inc(1685) : eval()'d code on line 2

the function works ok in other places (on the image page ...)

nir

dawehner’s picture

@nir

This is a problem of drupal core. Take sure that the file where this function is, gets included.

mlissner’s picture

Hmmm...I still haven't been able to iron this out, which is quickly becoming a problem, since my cron hasn't run in weeks. Does anybody have any theories as to how I can make this work?

headstartcms’s picture

Version: 6.15 » 7.0

Fatal error: Call to undefined function menu_overview_form_validate()

Can anyone give advice on this error? what module do i need ? Or module that i need to delete