XF 2.1 Error on Alert changes

ibaker

Well-known member
I have a couple of users saying they get an error when they try and change their Alerts. It isn't happening for me so I am at a lost as to what may be causing it...any suggestions?
1556418322684.webp
 
Oh, found the problem...it was one of my own template edits. I don't want users to set their status as invisible except for administrators so I had the following code in the account_preferences template which was causing the error:
Code:
<xf:comment> IB added if statement </xf:comment>
            <xf:if is="{{$xf.visitor.isMemberOf(3)}}">
                <xf:macro template="helper_account" name="activity_privacy_row" />
            </xf:if>
 
Back
Top Bottom