Skip Navigation

[Résolu] When I add search results to a page, the page shows an error

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

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Marqué : ,

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par indianplayschools Il y a 5 années.

Assisté par: Minesh.

Auteur
Publications
#1330991

I created a View for searching preschools on my website indianplayschools.com.
When I place this on my website I see that whenever results are placed in the same page or at a different place on the same page, I am unable to view the page and it shows an error. If I place the results on another page, that page also shows the same page. If I put only search form on a page, that page works fine.
I guess this is because, I have 7000+ preschools on my website. So, when I add search results, the pages are not able to access the data well. How can I make my search form work? What kind of changes do I have to make for displaying the results? Is there a way to stop the results page to work until I actually add values and start searching?
Thank You for your support

#1331233

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Actually - 7000+ preschools entries is a lot and obviously to fetch all those entries will require lots of server resources and is not a right way to load that many posts on single page.

What if you paginate your posts?
=> https://toolset.com/documentation/user-guides/views-pagination/
=> https://toolset.com/documentation/beyond-the-basics/paginate-lists-of-content/

Will that help?

In addition to that I suggest you should also check the following Doc:
=> https://toolset.com/documentation/user-guides/front-page-filters/how-to-use-views-parametric-search-on-large-sites/

#1331455

Thank You. Please give me some time to check and revert back as my website server is undergoing maintenance.

#1331485

My issue is resolved now. Thank you! Your pagination idea worked like a charm.

Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance