Skip Navigation

[Resolved] Pagination pages show 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 3 voices.

Last updated by Waqar 1 year, 2 months ago.

Assisted by: Waqar.

Author
Posts
#2646785

Jim

Tell us what you are trying to do?
My map search for searches with many results correctly displays the first page of results and the pagination links at the bottom of the page. However, if you click on the pagination links, the resulting pages show no results.

Is there any documentation that you are following?
https://toolset.com/documentation/legacy-features/views-plugin/views-pagination/

Is there a similar example that we can see?
Not that I know of.

What is the link to your site?
hidden link

e.g. Search with the 'Enter a location' field set to 'Toronto, ON, Canada'

#2647305

Jim

As I am also dealing with another issue ( Split: Just noticed huge Google Cloud monthly bills 2), I have set up WAF rules to restrict access to this page to only people in Canada. Can you access it via VPN set to Canada? Otherwise, let me know your country so I can allow it as well.

Thanks.

#2647635

Nigel
Supporter

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

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

Hi Jim

I was able to access the page via VPN and I can see that no results are returned when paginating to the second page, but I can't see any more details to understand the cause.

Can we get access to your site to see how it is set up and check how many results would be expected?

Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.

#2647821

Hi Jim,

Thank you for sharing the access details.

During troubleshooting, I found a custom code snippet 'noresults', in the Toolset custom code section, which was causing results to not show when pagination was used.

I've adjusted a line in it, from:


if(!isset($_REQUEST['wpv_filter_submit'])) {

To:


if(!isset($_GET['wpv_view_count'])) {

After this change, the results are showing with pagination too.

regards,
Waqar

#2647969

Jim

Thanks Waqar! You're the best!