Skip Navigation

[Resolved] Post Form restricted message

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user has the debug info of a conditional block and asks how to remove it.

Solution:
The following text is generated by the debug mode of the conditional block, you can deactivate it as you can see in the bottom-right of this screenshot https://prnt.sc/ue9m4f

Disable the debug mode, check this screenshot http://prntscr.com/uf27yg

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by jillT 4 years, 3 months ago.

Assisted by: Jamal.

Author
Posts
#1771913

I recently closed a ticket believing it was resolved: Post Form restricted message - https://toolset.com/forums/topic/post-form-restricted-message/

However, I see there is still a problem with the form in that when logged in the following appears at the top of the form:
####################
wpv-conditional attributes
####################
Array
(
[if] => NOT ( ( '1' > '0' ) )
[debug] => true
)

####################
Debug information
####################
--------------------
Original expression: NOT ( ( '1' > '0' ) )
--------------------
After replacing 1 general variables and comparing strings: NOT ( ( 1 > 0 ) )
Comparing 1 to 0

When not logged in it correctly shows the restricted to members message

hidden link

#1772381

Hello and thank you for contacting the Toolset support.

The following text is generated by the debug mode of the conditional block, you can deactivate it as you can see in the bottom-right of this screenshot hidden link

As I am still logged in to your website, I disabled the debug mode, check this screenshot hidden link

Check this screenshot of two windows, on one, the user is logged in and on the other, it is not hidden link

I hope this answers your question. Let me know if you still have any questions.

#1772955

My issue is resolved now. Thank you!