Log in

View Full Version : Weird Error In Admin CP - Create new User


ZomgStuff
04-04-2007, 03:20 AM
When I go to create new user at the very top I see

"Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(464) : eval()'d code on line 9"

I haven't altered this file at all. If I go ahead and make a new user, it messes up some people's usergroups..

Also when I try to view archives I get this error at top. Still shows and everything though

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /archive/global.php(40) : eval()'d code on line 2

If it helps, I just moved servers.

WetWired
04-04-2007, 03:53 AM
If it's in an eval, it's probably in a mod that you've installed, though it's possible it's coming from a template. I'd suggest disabling mods to confirm that it is a mod problem, then disable them individually untill it goes away to pinpoint which one.

Dismounted
04-04-2007, 05:26 AM
admincp/user.php, line 464:
($hook = vBulletinHook::fetch_hook('useradmin_edit_start')) ? eval($hook) : false;
archive/global.php, line 40:
($hook = vBulletinHook::fetch_hook('style_fetch')) ? eval($hook) : false;

I say it's caused by a plugin hooking at those locations.

ZomgStuff
04-04-2007, 11:03 AM
Thanks guys. I'll keep on looking.

Edit: I disabled all my plug ins one by one and nothing. It's still there.

Edit 2: Found it. It was admin log in as user .