Skip Navigation

[Resolved] "Content not displayed because it produces an infinite loop" Conflict

This support ticket is created 6 years, 3 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
- 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 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Waqar 6 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#1127778
Screen Shot 2018-10-15 at 5.31.37 PM.png
Screen Shot 2018-10-15 at 5.29.30 PM.png
Screen Shot 2018-10-15 at 5.18.39 PM.png
Screen Shot 2018-10-15 at 5.18.10 PM.png

I am trying to:
We are trying to integrate an RSS feed from our site hidden link to our other site (also has an active license for toolsets) Groundwaterexchange.org. We added the RSS feeds from california water library using a plugin "RSS Aggregator" and have the view set to display post type "feed source" from the rss feed plugin (see screenshot: https://toolset.com/wp-content/uploads/tmp/Screen_Shot_2018_10_15_at_5.29.30_PM.png ) and used the loop wizard to create a loop that displays the date and title of the post (https://toolset.com/wp-content/uploads/tmp/Screen_Shot_2018_10_15_at_5.31.37_PM.png).

Link to a page where the issue can be seen:
hidden link

I expected to see:
https://toolset.com/wp-content/uploads/tmp/Screen_Shot_2018_10_15_at_5.18.39_PM.png
We should only be seeing these four bullet points from the rss feed.

Instead, I got:
https://toolset.com/wp-content/uploads/tmp/Screen_Shot_2018_10_15_at_5.18.10_PM.png
An error message "Content not displayed because it produces an infinite loop.
The wpv-post-body shortcode was called more than once with the attribute view_template="Loop item in View StormWater Cap" over the post "Rss SC", triggering an infinite loop."

#1128163

Hi Thomas,

Thank you for contacting us and I'll be happy to assist.

From looking into the source code of your page ( hidden link ), it seems your View with ID "7128" is being loaded twice and those two instances are nested inside each other.

To see how the page and the view are configured, I’ll need temporary access (WP-Admin and FTP) to your site ( preferably to a test/development site where the problem has been replicated, if possible).

This access will allow me to offer better help and check if some configurations or code might need to be changed.

Your next answer will be private which means only you and our support team will have access to it.

If you’re going to share the access details for the live/production website, it is very important that a complete backup of your database and website has been made.

I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site (if needed). This is also a reason the backup is really important.

Please let me know if you have any further information or questions.

Regards,
Waqar

#1129212

Hi Thomas,

Thank you for sharing the access information to your development website.

During testing, I noticed that when the "Thrive Architect" plugin is active, the content added inside the body of pages is processed and shown twice, which also applies to any Toolset View in there.

For example here is a link to a test page ( hidden link ), which includes some text and a shortcode for view "View StormWater Cap".

With "Thrive Architect" plugin disabled, the content shows correctly, on the front-end:
hidden link

When the "Thrive Architect" plugin is activated, no content shows on the front-end:
hidden link

But if the same page is edited through the "Thrive Architect" plugin's visual editor, it starts showing content twice:
hidden link

I'll recommend updating "Thrive Architect" plugin to its latest version and if the issue still persists, consult its official support team.

Note: I also noticed shortcode "[wpv-post-body view_template="None"]" in the content template of your view "View StormWater Cap".
( screenshot: hidden link )

It is not needed there and whenever another view needs to be inserted in a content template, [wpv-view] shortcode should be used instead of shortcode [wpv-post-body], e.g.:

[wpv-view name="view-stormwater-cap"]

I hope this helps! Please let me know if there's anything else I can help you with.