PDA

View Full Version : PHP5 servers


aljalahmah
02-13-2006, 09:12 AM
Hello,

help please

My hosting Upgrade

PHP 4.3.11 TO PHP 5

Now not login admin Control Panel

message
================================================== ==
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 3
================================================== ==

Thanks very much for help

Marco van Herwaarden
02-13-2006, 09:41 AM
What vB version are you using?

aljalahmah
02-13-2006, 09:58 AM
vB3.5.3

Marco van Herwaarden
02-13-2006, 10:09 AM
There is a plugin at the 'fetch_userinfo' hook-location that is causing this error. Try to disable it and contact teh author of the hack for a fix.

Neofreaks
02-13-2006, 10:12 AM
I would guess that one of your plugins is not compatible with PHP 5. To disable plugins temporarily while you fix the problem:
Open /includes/class_hook.php, find:
function &fetch_hook($hookname)
Comment out that function (/* ... */).

Then disable plugins one by one until you find the problem. I'd suggest you start with those using 'fetch_userinfo' hook.

When done, uncomment the function.