Skip Navigation

[Resolved] Error displaying a post

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
- 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)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 4 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#1554503
code.png
error_view.png
normal_view.png

Hi,
I created a view with some conditional output and filter

It works well (see normal_view) until I change the filter. When I change filter some code appear on the post (see error view).
I attached the code also for your review (see code)

If you need to access to my site, please tell me.

regards
fulvio

#1554715

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

What are the settings for your View?

To update via ajax whenever any of the filter settings change?

I can see in your screenshots that the "code" is actually a shortcode from another plugin, namely [wcm_restrict]

It looks like the plugin that registers this shortcode doesn't register it during ajax requests, they probably register the shortcode to work only on front-end requests (while an ajax request appears as an admin request).

We cannot fix that, the plugin author would need to change how the shortcode is registered, and you will need to contact them.

We would be happy to give them more details if you want to invite them to contact me at nigel.a@onthegosystems.com