Skip Navigation

[Resolved] Unexplained behavior of conditional display and shortcodes forms

This support ticket is created 4 years, 9 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by Serhii 4 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1560209

Hello. My site is hidden link

This is main logged-in users page - hidden link

This page (when user is logged-in) contains the table - hidden link .The table is built with help conditional outputs (and user forms hidden link) and contains personal information for each users .

Custom Template edit page which contains the table - hidden link (start - line 49 - hidden link , end - line 527 - hidden link )

Now about the problem.

If I fill one or more fields of the table I get this - hidden link . Shortcodes forms and top level conditional output stop working. And I totally do not understand why. Please help me to fix this issue.

#1560531

You may be running into this problem: https://toolset.com/errata/shortcodes-in-conditionally-displayed-content-may-not-be-executed-on-the-front-end/

There are a few workarounds.
1. You can try adding this line to your wp-config.php file:

ini_set('pcre.jit', false);

2. Or you can try adding this line to your php.ini file:

pcre.jit= 0

3. Or you can try splitting this template up into smaller sections with multiple conditionals.

#1560569

My issue is resolved now. Thank you!