Forum Academy Marketplace Showcase Pricing Features

This element should not be visible but it is


I have this conditionals to make a group visible.

As you can see in the image below, current user is NOT current page user, however, the conditionals are passed so the group is visible:

Since current user is not current page user, the group should not be visible.

Is this a bug? How can I fix this?

You’re using ‘Or’ expressions in your conditional which means if ANY of those things are true the condition will evaluate to True.

So presumably one or more of those things are true - you can find which one(s) with the debugger.

1 Like

As @adamhholmes said, you have some OR operators in you expression. Don’t mix OR and AND in the same expression. It is going to make a mess… Try to dismember them into two different expressions. One with OR and the other with AND.


Thanks, putting the AND in the end of the expression fixed it.

This topic was automatically closed after 70 days. New replies are no longer allowed.