Fatal Error Line 48

BOZMAN's picture

p { margin-bottom: 0.08in; }

 

Just got this on one of my sites

 

Fatal Error: Call to undefined function

drupal-cron-run() in

var/www/vhosts.......poormanscron on line 48

 

This is the offending bit:-

 

// Invoke the cron hooks of all enabled modules.

if (drupal_cron_run()) {

$message = 'Cron run completed (via poormanscron).';

}

else {

$message = 'Cron run unsuccessful (via poormanscron).';

}

 

The affect was to effectively create a White Screen of Death when trying to access the Admin of the site & users were unable to logon using their passwords. Nasty!

 

Why it occurred, I've no idea, no new stuff on the site except content. My first reaction was to delete and re-install the module using FTP. This didn't appear to work, so I managed to eventually access the Poormans cron and switch off the option "Log successful cron runs Yes/No" to "No", & lo and behold, success.

I would be interested to hear other folks comments about this 'problem'. Searching google & deedotoh did not produce any solutions.... although a lot of sites with 'line 48' fatal error.

Look forward to some feedback

boz

 

BOZMAN's picture

This worked out only as a

This worked out only as a temporary fix... found out 'update' was responsible & disabled it.