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\DOMAIN\a2hosting_forum\includes\init.php on line 383
Deprecated: Assigning the return value of new by reference is deprecated in E:\websites\dynamic\DOMAIN\a2hosting_forum\includes\class_core.php on line 2529
Unable to add cookies, header already sent.
File: E:\websites\dynamic\DOMAIN\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 '='
Links For You (11/22/26)
13 hours ago
