Fixed stray $i variable in the admin template Team_option_list

alfa1

Well-Known Member
When I went to Admin -> Options -> [Nobita] Social Groups Options Manager, I saw a number of these errors on the top:

Template Errors: team_option_list
Code:
1. a non-numeric value encountered in /libtrary/xenforo/template/abstract.php(265): eval()'d code, line 91:
90: $i = '';
91: $i .= ($i +1);
92: $__compilerVar3 .=
This is basically due to a stray $i variable in the admin template Team_option_list

I fixed this by going to Admin Templates -> Team_option_list and commenting out this line:
Code:
<xen:comment><xen:set var="$i">{xen:calc '{$i} + 1'}</xen:set></xen:comment>
 
I completed remove that lines. It did not use anywhere. Don't know why i put that code. Cannot remember reason for that. LOL
 
Back
Top