![]() |
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. |
A bit difficult to help you if you don't post the code you're using.
|
What code? If you're talking about the code in plugin global_start it's:
PHP Code:
|
Then it should be another plugin or code edit that is causing this.
|
Line 349 is the call to the global_start hook so you have another plugin running that is at fault.
|
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:
|
All times are GMT. The time now is 08:11 AM. |
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:
|