Quote:
Originally Posted by swatkins
Does anyone know what this error is about? The error log is growing huge and is filled with this one error.. I check all my plug ins and this is the only one using the hook at that location...
Code:
[21-Dec-2008 11:05:16] PHP Fatal error: Call to a member function on a non-object in /home/dmaxcent/public_html/forum/includes/cron/cleanup.php(77) : eval()'d code on line 3
Line 3 is the comment block that shows the info and there is no code there.. Does the (77) refer to line 77 instead?
This is line 77 of the cleanup.php file
Code:
($hook = vBulletinHook::fetch_hook('cron_script_cleanup_hou rly')) ? eval($hook) : false;
Thanks for any help
Steve
|
same problem here
Code:
($hook = vBulletinHook::fetch_hook('cron_script_cleanup_hou rly')) ? eval($hook) : false;
On line 3
Code:
if($vbulletin->options['nlp_notifications_active'])
{
$taz = $db->query("
SELECT threadid FROM " . TABLE_PREFIX . "nlp_notifications_thread
WHERE expired < " . TIMENOW
);
while($Mozan = $db->fetch_array($taz))
{
$vbulletin->db->query_write("
DELETE FROM " . TABLE_PREFIX . "nlp_notifications_thread
WHERE threadid = {$Mozan['threadid']}
");
$vbulletin->db->query_write("
DELETE FROM " . TABLE_PREFIX . "nlp_notifications_read
WHERE threadid = {$Mozan['threadid']}
");
}
}