Skip Navigation

[Résolu] I have a View which sometimes returns results – sometimes not

This support ticket is created Il y a 5 années et 7 mois. 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)

Marqué : ,

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Christian Cox Il y a 5 années et 7 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1241122

Third column of the menu on all my pages

lien caché

Under Wildlife Photography Holidays - sometimes this view, Event Listing for Menus - greater than year, returns correct results - but 50% of the time it does not - and returns the default 'No Events Found' - sometimes I have to go into the view and change one space - then resave - and it comes back to life!

Any ideas on what could be causing this?

Also my host is worried about multiple processes being spun up from my pages - Toolset has been mentioned as the culprit - is this a valid accusation from them?

#1241179

Any ideas on what could be causing this?
Hi, it could be a Views caching issue. As a test, you can temporarily turn off caching for this View using the shortcode attribute like this:

[wpv-view name="event-listing-for-menus-greater-than-year" cached="off"]

If the problem does not return, you can safely assume it was Views caching.
If the problem returns, some more troubleshooting can help pin down the problem. You can try these steps:
- Temporarily deactivate SiteGround caching by deactivating the SG Optimization plugin. Deactivate WPRocket temporarily as well. Test again. If the problem returns, continue troubleshooting.
- Temporarily deactivate all plugins except Types and Views and activate a default theme like Twenty Nineteen. You can activate a maintenance mode plugin during testing, or perform these tests on a staging site.
- Test the View several times. If the problem does not occur, reactivate your theme and other plugins one by one until the problem returns.
- If the problem returns without reactivating your theme or plugins, I'll have to take a closer look.

Also my host is worried about multiple processes being spun up from my pages
Any time you have Views or WordPress Archives that utilize AJAX updates, you may have multiple requests going at the same time. If it's becoming a problem, you can consider turning off preload and caching settings for these AJAX Views, so that fewer AJAX requests are spun up simultaneously upon loading the page.