The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I'm trying to create a custom Scheduled Task in vB. In the cron php file, I need to require/include another file, but whenever I do I get the following error: Fatal error: Call to a member function on a non-object in /home/xxxxxxx/public_html/testforum/global.php(237) : eval()'d code on line 1 Any advice on how to require other files for a cronjob? Thanks, J |
|
#2
|
|||
|
|||
|
Bump. Anyone?
|
|
#3
|
||||
|
||||
|
Pretty had to to even guess at the problem, as your description is not very clear. When you say the "cron php file" what file exactly do you mean ?
JFYI, That message is basically complaining about the contents of a plugin linked to the 'style_fetch' hook. |
|
#4
|
|||
|
|||
|
Thanks, Paul...got it sorted out.
The "cron PHP file" refers to the file that is being run by Scheduled Tasks (the PHP file contained in ./includes/cron) |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|