Quote:
Originally Posted by Cubie
I can't login to my site anymore.
The forum is still accesable but my vbadvanced portal gives errors:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 26
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 41
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.sites/119/site80/web/forum/global.php on line 48
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.sites/119/site80/web/forum/includes/init.php on line 519
|
Array merge merges one array to another. Without seeing the statments on those it's hard to say what's going wrong, but it's probable that they are all acting on the same variable that you've failed to define as an array at some point. Certain spelling errors will also do this.
If you upgraded to the latest version of PHP 5.0 this might also occur - they changed the behavior of the array_merge function some (And for that reason and others changing to PHP 5.0 is a bad idea until Jelsoft greenlights it).