I am trying to:
Display toolset data on front end
Link to a page where the issue can be seen:
hidden link
I expected to see:
the data pulling in and being displayed
Instead, I got:
[types output='raw' field='review-event-parking'][/types]
Hi Barry,
Thank you for contacting us and I'll be happy to assist.
I couldn't reproduce this behavior of Types shortcodes on my test website.
To troubleshoot, why this is happening on your website, I'll suggest testing the shortcodes, after disabling all plugins except the Toolset.
If the issue is resolved, you can start activating the disabled plugins, one-by-one, to narrow this down to a possible conflicting one.
In case the issue still persists, please test the shortcodes with a default WordPress theme like Twenty Seventeen activated, to rule out any theme or custom code conflict.
If it still behaves the same, I'll need access to the website's admin area, to log in and see how these shortcodes are included in the content.
You're welcome to share the login details and information about where exactly the shortcodes are being used, in your next reply. It will be private which means only you and our support team will have access to it.
Important Note: Please backup your database and website before sharing the access information.
regards,
Waqar
Hello,
have you looked at this yet?
Hi Barry,
Thank you for sharing the login details.
During further testings, I was still not able to reproduce the issue, on a couple of different test websites. However, I found a few similar reports from the past, where users with specific PHP version and server settings experienced this.
When a longer content is used inside the conditional shortcode ( [wpv-conditional] ), WordPress' parsing of inner shortcodes can get affected.
We have included a note about this in our guide at:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
To avoid this situation, I'll suggest the following steps:
1. Please contact your host to see if the PHP version on the server can be upgraded to either 7.0.26 or 7.1.3 (your current version is 7.0.32).
2. The issue seems to be affecting only your "OCR Reviews" posts ( ref: hidden link ), but not the other review post types, e.g. "Adventure Reviews" posts ( ref: hidden link )
OCR review posts are shown directly using a content template "Event Review Content Template", while all other review post types are set to use the layout "Event Review Layout Template".
You can set your OCR reviews posts the same way, as those other review posts.
3. If for some reason, you can't use a layout for this specific post type, you'll need to break your conditional shortcode blocks into the smaller blocks, to make them work.
I hope these points will help and let me know how it goes.
regards,
Waqar