Quote:
Originally Posted by AScherff
I figured out, that after installing these mod, two of cron-jobs (Birthday and Activation Reminder) are not run and have these error:
Fatal error: Call to a member function query_first() on a non-object in ..../includes/class_mail.php(266) : eval()'d code on line 4
code of line is
PHP Code:
($hook = vBulletinHook::fetch_hook('mail_send')) ? eval($hook) : false;
|
I've tested this on a clean install and don't have any problem running the cronjobs manually. They run just fine whether manually or automatically executed. Your issue may be that another modification is conflicting with this one - try searching for any other plugins which are utilizing the hook location
'mail_send' and tinker around with the plugin execution orders or disable the other mod.
If both of those don't work, then (and I don't think this will make a difference because I have no idea what you have that's causign the conflict with this) but try the following edit:
In plugin
'EZ Bounce Management - construct code':
Find:
PHP Code:
$buser = $db->query_first("
and REPLACE with:
PHP Code:
$buser = $vbulletin->db->query_first("