0

I recently upgraded PHP to 5.4 and now I started getting error. I'm using vBulletin 3.8.4

Here is the code:

if (!is_array($user_memberships["$userinfo[userid]]") OR !$cache)

Other lines with error

1) $user_memberships["$userinfo[userid]"] = fetch_membergroupids_array($userinfo);

2) if ($user['membergroupids'])

3) $membergroups = explode(',', str_replace(' ', '', $user['membergroupids']));

4) $membergroups[] = $user['usergroupid'];
2
  • $user_memberships["$userinfo[userid]]" should be $user_memberships[$userinfo['userid']], no?
    – BlitZ
    Jun 12, 2013 at 3:25
  • Still the same error, also tried removing ' didn't work Jun 15, 2013 at 16:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.