I upgraded from 3.8.x to 4.0.7 yesterday, and unfortunately forgot to trun off all my plugins. Perhaps as a result I am seeing the following issues:
at the top of every page the message Code:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1280) : eval()'d code on line 121
appears. The pages seem to render ok.
When trying to browse a forum the message Code:
Unable to add cookies, header already sent.
File: /includes/class_core.php
Line: 4551
appears in place of the forum content.
I get these messages both in the default style and in my customized (hand-updated from 3.8) style. Both styles work fine in my test site, which followed essentially the same upgrade path (there I upgraded to 4.0.6 and then 4.0.7 when it came out)
Deactivating all my plugins does not resolve the issue in either style.
Adding the global DISABLE_HOOKS setting to includes/config.php resolves the issue in both styles.
What do I need to do to recover from this so I can remove the DISABLE_HOOKS setting?