I have a massive page but I have recconstructed the error in a JS FIDDLE
<li><input class="<?php echo $env;?>" type="checkbox" > This is Item 1</li>
This is the line that has the error.
It is not reading the class name as what the variable is equal too?
am i missing something or can you not do this ?