Log in

View Full Version : ISSUE w/ upgrade PLEASE HELP


PHILLYFAN
12-29-2009, 09:59 PM
Hello,

I did an upgrade from 3.8.4 to the new 4.0. This is the error(s) I'm getting after I installed it

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3895

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

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

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

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

Fatal error: Call to a member function hide_errors() on a non-object in /home/rawtalen/public_html/one-of-akind.com/Forum/includes/class_bootstrap.php(283) : eval()'d code on line 46

Lynne
12-29-2009, 11:11 PM
That is from a modification (or non-vb4 code).

Disable all your plugins/products except the Blog and CMS. And when I say disable them ALL, I mean all the products on the Manage Products page (except the Blog and CMS products) AND all the plugins in the Plugin Manager (except those associated with the Blog and CMS). You must do BOTH (I can't emphasize that enough). Now see if you still have the same problem.


If you continue to have problems, please post over on vb.com for help. See this sticky - Installation Issues / Questions or bug reports regarding default vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=228035)

PHILLYFAN
12-29-2009, 11:31 PM
Is there away to get into the admin panel to disable? cause I have no access to anything cause of this error

Lynne
12-30-2009, 02:44 AM
To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

04Venom
10-09-2010, 05:10 AM
Lynne, I'm having this problem on my forum. I never disabled my plugins during an upgrade. I'm planning to go with VB 4.0.8. If I disable all of my plugins and perform the upgrade, will these problems cease to exist?

Lynne
10-09-2010, 02:17 PM
The best thing to do is first delete any add-ons you don't plan to be using in vB4 (like ones that aren't upgraded) and then disable all of the plugins via first the Manage Products page and then the leftovers via the Plugin Manager. Then, add that line to your config.php file for good measure and perform your upgrade. If your plugins are all disabled, then you won't get any errors like in the first post.

Just a reminder, but please be sure to backup your database prior to performing your upgrade. :)

kerry oki
01-14-2012, 04:11 AM
To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

My gosh, Lynne, you're wonderful. It fixed my problem. Thank you