Passer la navigation

[Résolu] Post Form restricted message

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 4 années et 11 mois. 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

Fuseau horaire du supporter : Africa/Casablanca (GMT+01:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par jillT Il y a 4 années et 11 mois.

Assisté par: Jamal.

Auteur
Publications
#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

lien caché

#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 lien caché

As I am still logged in to your website, I disabled the debug mode, check this screenshot lien caché

Check this screenshot of two windows, on one, the user is logged in and on the other, it is not lien caché

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

#1772955

My issue is resolved now. Thank you!