The Arcive of vBulletin Modifications Site. |
|
Scheduled Task Error Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#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? |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
||||
|
||||
|
I will test with an expired subscription.
This is strange as $db is globalized at line 120... |
|
#5
|
||||
|
||||
|
Exactly what I thought. Unfortunately this error prevents plugins on the paidsub_delete hook from running.
|
|
#6
|
||||
|
||||
|
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. |
![]() |
|
|