I have updated to 4.2.2 but this script gives me the following error:
Quote:
Warning: Assigning the return value of new by reference is deprecated in ..../global.php(29) : eval()'d code on line 43
|
Apparently it has something to do with the new PHP version i already use on my new server (PHP 5.3.27). But i have found the problem and found a solution for it.
- Go to admin panel
- Go to Plugin & Products
- Go to Manage Products and disable the Quick Account Switch
- Go to Plugin manager
- Scroll in the list to QAS: Handle Switch (global_start) and edit the file
- Find in the PHP code the following:
Quote:
$vbulletin->session =& new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']);
|
and replace it with
Quote:
$vbulletin->session =new vB_Session($vbulletin, '', $getuserdata['userid'], '', $getuserdata['styleid']);
|
Enable the product again and it's gone.