Skip Navigation

[Resolved] Second page of ajax pagination after a custom search returns no results

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 3 replies, has 2 voices.

Last updated by daveG-7 12 months ago.

Assisted by: Waqar.

Author
Posts
#2595705

I have a custom search that uses ajax searching and ajax pagination. When I click the next button, there are no results, even if [wpv-pager-total-pages] returns more than one page of results The search is here: hidden link

#2595931

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

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

To troubleshoot this, I'll need to see how this view is set up in the admin area.

Can you please share temporary admin login details in reply to this message?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2597287

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for sharing the access details.

I've performed some tests on my website with a similar view and pagination settings, but couldn't reproduce this behavior. This suggests that something specific to your website is involved. Most likely the cache plugin, server, or CDN is caching the AJAX requests.

To troubleshoot this, I'll suggest testing this with all non-Toolset plugins disabled and with a default theme like Twenty Twenty-One. If it's fixed, you can start adding the disabled items, one by one, to narrow down to a possible conflicting one.

In case the issue persists, I'll need your permission to download a clone/snapshot of the website, to investigate this on a different server.

Please, let me know how it goes.

#2597475

I'm too close to launch to do such major troubleshooting, so I'm going to use page reload for pagination instead of Ajax. Thanks for your help, though.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.