Friday, January 27, 2012

vbulletin error after upgrading php "includes/init.php Line: 49"

If you are getting the below errors with vBulletin after upgrading php.



Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\gtglass\a2hosting_forum\includes\init.php on line 383

Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\gtglass\a2hosting_forum\includes\class_core.php on line 2529

Unable to add cookies, header already sent.
File: E:\websites\dynamic\gtglass\a2hosting_forum\includes\init.php
Line: 49


To fix
Try replacing

error_reporting(E_ALL & ~E_NOTICE);

with

error_reporting(E_ALL & ~E_NOTICE & ~8192);


Then replace all occurances of '=&' with '='


Stumble Upon CodePyro

0 comments:

Post a Comment