We are currently still on 3.8.7 and recently our hosting company updated to (unsupported) PHP 5.4 without asking us.
Now occasionally people see a message "Warning: Illegal string offset 'do' in [path]/includes/functions_online.php on line 456" when they open the who's online page. I had a look at that line and found the following code:
Looking at the vBulletin 4.2.1 code, I noticed that line is still the same, however shouldn't it rather be $userinfo['values']['do'] instead of $userinfo['action']['do']?
Now occasionally people see a message "Warning: Illegal string offset 'do' in [path]/includes/functions_online.php on line 456" when they open the who's online page. I had a look at that line and found the following code:
Code:
if ($userinfo['values']['do'] == 'newpm' OR $userinfo['values']['do'] == 'insertpm' OR $userinfo['values']['do'] == 'newmessage') { $userinfo['action'] = $vbphrase['creating_private_message']; } else if ($userinfo['values']['do'] == 'editfolders' OR [b]$userinfo['action']['do'][/b] == 'updatefolders') { $userinfo['action'] = $vbphrase['modifying_private_message_folders']; }
Comment