Home › Toolset Professional Support › [Resolved] Post Form restricted message
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 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)
Related documentation:
This topic contains 2 replies, has 2 voices.
Last updated by jillT 4 years, 3 months ago.
Assisted by: Jamal.
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
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.
My issue is resolved now. Thank you!