![]() |
Scheduled Task Error
It seems project tools causes an error when running the Subscriptions scheduled task manually.
This is the error I get: Code:
Fatal error: Call to a member function query_read() on a non-object in /home/{REMOVED}/domains/{REMOVED}/public_html/newforums/dev/includes/adminfunctions_projecttools.php on line 125 I am using Project Tools 2.1.2 and vBulletin 4.1.2 |
This error is strange as all the needed code is present.
I ran the 3 scheduled tasks on my install and there is no error. Can you retry to put again ./includes/adminfunctions_projecttools.php in your server? |
I've tried it on 2 different installations of vB4 (4.1.2 and 4.0.7). and Project Tools 2.1.1 and 2.1.2.
Seems to happen when you have a paid subscription that expires. |
I will test with an expired subscription.
This is strange as $db is globalized at line 120... |
Exactly what I thought. Unfortunately this error prevents plugins on the paidsub_delete hook from running.
|
Really strange as PT as nothing to do with paid subscription.
Maybe you can try to add to $specialtemplates 'pt_permissions' for THIS_SCRIPT == 'cron' but I'm not sure it will fix it. |
All times are GMT. The time now is 03:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|