The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
error with plugin on vb4
i am trying to use a plugin in vb4 and make the changes required in order for it to be properly vb 4 compatible.
i am getting this error Warning: Cannot use a scalar value as an array in [path]/includes/functions.php on line 5191 the line in question is // just return the permissions for the user's primary group (user is only a member of a single group) $user['permissions'] = $vbulletin->usergroupcache["$USERGROUPID"]; I found from reading other info on php that this means the $user variable needs to be declared as an array earlier in the script as otherwise it can be declared as some sort of other type bye the first value assigned to it. eg if it says $user = 1 then the variable would be an integer type and therefore cannot have other array variables assigned to it. can anyone tell me what i need to do here thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|