XF 1.5 helperIsMemberOf() must be of the type array, null given

Robert9

Active member
#1
Argument 1 passed to XenForo_Template_Helper_Core::helperIsMemberOf() must be of the type array, null given in /var/www/forum/library/XenForo/Template/Helper/Core.php, line 1344

I use this since a long time; now i get the error above:

<xen:if is="!{xen:helper ismemberof, $user, 3,4}">
 

Chris D

XenForo developer
Staff member
#2
Wherever this is being used $user is null rather than a user array.

That wont be a bug but rather an issue with the data being passed to the template.
 
Top