The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
ksort() error in global.php
[02-Feb-2006 22:18:56] PHP Warning: ksort() expects parameter 1 to be array, null given in /home/*****/public_html/dev/global.php(349) : eval()'d code on line 28
[02-Feb-2006 22:18:56] PHP Warning: Invalid argument supplied for foreach() in /home/*****/public_html/dev/global.php(349) : eval()'d code on line 30 I don't see anything wrong with my global_start plugin. I even tried disabling it and emptying it, but the error still occurs on every page load. It doesn't print to the screen, but instead writes to the error_log file on every page load. |
#2
|
|||
|
|||
A bit difficult to help you if you don't post the code you're using.
|
#3
|
|||
|
|||
What code? If you're talking about the code in plugin global_start it's:
PHP Code:
|
#4
|
|||
|
|||
Then it should be another plugin or code edit that is causing this.
|
#5
|
||||
|
||||
Line 349 is the call to the global_start hook so you have another plugin running that is at fault.
|
#6
|
|||
|
|||
a different global_start plugin or a totally different plugin? The only one that I have modified since the errors started (actually the only one that I ever modifed) was the one I showed above.
I got it fixed. I have microstats plugin and for some reason PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|