Log in

View Full Version : Receiving Error


dancue
03-17-2008, 03:15 AM
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(537) : eval()'d code on line 120

I'm getting the above error when logged out and viewing the forums as a guest. I spoke to someone from vbulletin and they had me disable all the plug-ins to determine the cause. It so just so happens that it is caused by one of my plug-ins.

Can anyone help me resolve the issue?

Lynne
03-17-2008, 03:46 AM
You need to figure out exactly which plugin is causing the array_merge problem (what is on line 537 of your index.php page? Hopefully it is a hook location and that will help you find it) and then this article may help you: [Fix How to] PHP 5 and array_merge errors (https://vborg.vbsupport.ru/showthread.php?t=125302)

dancue
03-17-2008, 04:00 AM
I guess I could have done it that way also...lol

I just did it by process of elimination.

Figured out that it was the SiteTeam product plug in. I'm going to go and let the author know now.

Thanks for your help!!