Helpful Information
 
 
Category: vB4 General Discussions
VB 4 Beta 3 Upgarde Problems

Hi all, can you help me?

I just upgrade from VB 3.8.4 PL 1 to VB 4 Beta 3, and I forgot to disable all plugins in the Control Panel, I only shut down the forum. There are no problems durig the upgrade process, but after the upgrade process done, when I want login to Control Panel, there are errors message like this :

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

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

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

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

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

Unable to add cookies, header already sent.
File: /home/siutaoc/public_html/community/includes/class_core.php
Line: 4269

And when I access my forum page, the erros message are :

Fatal error: Call to a member function hide_errors() on a non-object in /home/siutaoc/public_html/community/includes/class_bootstrap.php(277) : eval()'d code on line 111

How can I resolve this problem? And if I want to disable the plugin from config.php, how can I do it?

Thanks B4

And if I want to disable the plugin from config.php, how can I do it?

Thanks B4

define('DISABLE_HOOKS', true);

define('DISABLE_HOOKS', true);

where it have to put that PHP code? I cant find that code in config.php

You will need to add that as a new line in your config.php (after the 1st line).

okay, got it. I disable all the plugin from the database. Now, the other problem is :

Invalid SQL:

SELECT COUNT(*) AS count
FROM vbstc_attachment AS attachment
INNER JOIN vbstc_post AS post USING (postid)
WHERE attachment.visible = 0;

MySQL Error : Unknown column 'postid' in 'from clause'
Error Number : 1054










privacy (GDPR)