• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Conditional Statement Error

Hey Everyone,
I was wondering what I'm doing wrong with the conditional statements, I keep getting a syntax error. Can someone look this over and let me know what I'm doing wrong? I'm wanting to hide ads from the premium user group. @Brogan can you help? I've looked over your resource already and can't seem to figure out what I'm doing wrong.

<xen:hook name="ad_forum_view_above_thread_list" />

<xen:if is="!{xen:helper ismemberof, $visitor, Premium Member}">

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ad_forum_view_above_thread_list -->
<ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});