I'm receiving this error when I try to run a cron job or I try to save the configuration for the module.

Fatal error: Call to undefined function drupal_debug() in /.../public_html/drupal/modules/cd_sunlight/cd_sunlight.module on line 1673

Comments

deggertsen’s picture

I just noticed that in the log it's giving me this whenever I try to run the cron. This only happens while I have this module installed.

Cron run exceeded the time limit and was aborted.

deggertsen’s picture

I tried to comment out the function on line 1673 but it came back with this error:

Fatal error: Call to undefined function _cd_sunlight_api_lookup() in /.../public_html/drupal/modules/cd_sunlight/cd_sunlight.module on line 1995

dalin’s picture

Status: Active » Fixed

I just discovered this yesterday as well. You just need to remove drupal_debug($params, '$params'); This is already fixed in the 6.x-1.x-dev version. Sorry for the inconvenience.

deggertsen’s picture

Wonderful! Thank you.

Status: Fixed » Closed (fixed)

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

  • Commit db3858c on 6.x-1.x, 6.x-2.x, 6.x-3.x, 7.x-1.x, 7.x-api-upgrade by dalin:
    [#674340] removing leftover debug statement that was blocking cron
    
    

  • Commit db3858c on 6.x-1.x, 6.x-2.x, 6.x-3.x, 7.x-1.x, 7.x-api-upgrade, 6.x-api-upgrade by dalin:
    [#674340] removing leftover debug statement that was blocking cron