Log in

View Full Version : Issue with function.php?


Biker_GA
02-08-2008, 11:32 AM
We just recently upgraded to 3.7 b4. Everything is working as intended with one slight issue. OK. It's a HUGE issue! When hooks are enabled, the following error is received when attempting to access AdminCP..

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

I currently have hooks turned of via config.php, but I'm kinda stumped here. I dug around in functions.php and everything looks normal, especially at the line referenced by the error. I have just a few plugins installed at this point, and they're all 3.7 compatible. Any suggestions on where to dig next?

Opserty
02-08-2008, 12:07 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=125302" target="_blank">[Fix How to] PHP 5 and array_merge errors</a>

Biker_GA
02-08-2008, 12:54 PM
Got it... Many thanks... Seems there was a remnant of an old plugin still stuck in the plugin system. Deactivated the offending bugger and everything is working fine. Now to see if there's a replacement for that particular plugin. :) Again, many thanks!

Dismounted
02-09-2008, 02:15 AM
Please post the plugin.