Running vBulletin 4.2.5 with PHP7.1...
I normally have warnings suppressed but needed to display them while troubleshooting something and when I do I see this in the AdminCP User Manager just after Image Options and before User Profile Fields:
The lines in question are:
In case it's relevant, I do have some custom fields in the user profiles.
Suggestions for how to fix this?
I normally have warnings suppressed but needed to display them while troubleshooting something and when I do I see this in the AdminCP User Manager just after Image Options and before User Profile Fields:
Code:
PHP Warning: Illegal string offset 'userid' in ..../includes/functions.php on line 589 PHP Warning: Illegal string offset 'userid' in ..../includes/functions.php on line 592 PHP Warning: Illegal string offset 'usergroupid' in ..../includes/functions.php on line 532 PHP Warning: Illegal string offset 'usergroupid' in ..../includes/functions.php on line 598 PHP Warning: Illegal string offset 'userid' in ..../includes/functions.php on line 598
Code:
589 if (!is_array($user_memberships["$userinfo[userid]"]) OR !$cache) 592 user_memberships["$userinfo[userid]"] = fetch_membergroupids_array($userinfo); 532 $membergroups[] = $user['usergroupid']; 598 if ($userinfo['usergroupid'] == $usergroupid OR in_array($usergroupid, $user_memberships["$userinfo[userid]"]))
Suggestions for how to fix this?
Comment