tyteen4a03
Well-known member
I have this code:
However, when I view the page, I get:
Template Errors: 3ps_usergroup_ranks_help_usergroup_ranks_listing
Invalid argument supplied for foreach() in places\library\XenForo\Template\Abstract.php(265) : eval()'d code, line 12:
11: <!--';
12: foreach ($userGroupRanks AS $userGroupRank)
13: {
EDIT: Just tested <xen:if> and <xen:username> as well, the template compiler went ahead and compiled them.
Code:
<xen:title>{xen:phrase 3ps_usergroup_ranks_usergroup_ranks_listing}</xen:title>
<div class="baseHtml">
<fieldset class="xenForm">
<ol class="section ugList">
<!--<xen:foreach loop="$userGroupRanks" value="$userGroupRank">-->
things
<!--</xen:foreach>-->
</ol>
</fieldset>
</div>
However, when I view the page, I get:
Template Errors: 3ps_usergroup_ranks_help_usergroup_ranks_listing
Invalid argument supplied for foreach() in places\library\XenForo\Template\Abstract.php(265) : eval()'d code, line 12:
11: <!--';
12: foreach ($userGroupRanks AS $userGroupRank)
13: {
EDIT: Just tested <xen:if> and <xen:username> as well, the template compiler went ahead and compiled them.