We have recently installed VBulletin v4.2.1 for one of our clients and faced annoying errors and didnt have any clue as whats going on and through some google search we got some Ideas and fixed the issue.
Below is the error which we got during the installation.
Strict Standards: Non-static method vB_Shutdown::instance() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\includes\class_core.php on line 3314
Strict Standards: Declaration of vB_Database_Alter_MySQL::drop_index() should be compatible with vB_Database_Alter::drop_index() in C:\xampp\htdocs\includes\class_dbalter.php on line 882
Strict Standards: Declaration of vB_Database_Alter_MySQL::add_index() should be compatible with vB_Database_Alter::add_index() in C:\xampp\htdocs\includes\class_dbalter.php on line 882
Strict Standards: Declaration of vB_Database_Alter_MySQL::add_field() should be compatible with vB_Database_Alter::add_field() in C:\xampp\htdocs\includes\class_dbalter.php on line 882
Strict Standards: Declaration of vB_Database_Alter_MySQL::drop_field() should be compatible with vB_Database_Alter::drop_field() in C:\xampp\htdocs\includes\class_dbalter.php on line 882
First Open “Config.php” and then Add this which will make the warning disappear :
ini_set(“display_errors”, “0”);
then open “Class_Core.php” and edit Line 3314 :
$this->shutdown =@ vB_Shutdown::instance();
This should fix the errors and make your installation smooth.