Problem:
Moving a site to another server the page design broke, in particular content which would normally be hidden/exposed based upon wpv-conditional shortcodes didn't behave as expected.
Solution:
The new server was running PHP 7.2, and PHP 7.x introduced a new error which affects long sections of conditional (where there is a lot of content to parse between the opening and closing wpv-conditional shortcodes).
We are working to improve this but in the meantime you can
- continue to use PHP 5.6, or
- simplify your conditional content.
One way of doing that is to move the content which you want to conditionally display inside an unassigned Content Template, and then insert that template within the conditional shortcodes.
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 |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Este tema contiene 4 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 10 meses.
Asistido por: Nigel.