Skip Navigation

[Resolved] New problem with Pagination

This thread is resolved. Here is a description of the problem and solution.

Problem:
In a post view, use option "Pagination enabled with manual transition and AJAX", display the search form and search result in different place, with different shortcode/widget.

But the AJAX pagination does now work as expected.

Solution:

the AJAX pagination works only when you display the search form and search result in the same shortcode [wpv-view], You can choose another option: Pagination enabled with manual transition and page reload.

And test again.

Relevant Documentation:

This support ticket is created 6 years, 4 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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by chrisT-11 6 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1125409

We are experiencing a new issue with our product search pagination. It works on some level, but not others.

A few examples.... hidden link

1. If you go to this page and simply click "next" in the pagination, the pagination functions properly and goes to the next page of results.

2. If you go to this page and filter the "Price Range" by "Other" you will see the first page of results. If you click "next" in the pagination, you will go to the next page, but it says "no items found". However, we have many other items in the database. This is also present if you filter the "Price Range" by "$0 - $249" or "$250 - $499". Seems like it mostly an issue with this particular "Price Range" filter.

If I look at my server error logs, I am seeing the following error... (I don't know if this is related or not)

[Wed Oct 10 23:48:41.634391 2018] [proxy_fcgi:error] [pid 1127] (32)Broken pipe: [client 100.6.81.197:50246] AH01075: Error dispatching request to : (passing brigade to output filters), referer: hidden link

We have not experienced this in the past.

Any ideas?

Thanks for the help!
Chris

#1125882

Hello,

The problem you mentioned above is abnormal, please try these:

1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, remove all custom JS/CSS codes from the problem view, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1127287

Thanks for the details, I am downloading the file, will update here if there is anything found

#1127297

Here are what I found,
1) in the post view "Primary Filter" , you are using option "Pagination enabled with manual transition and AJAX",
2) In the page "Search Results", you are displaying the search form and search result in different place, with different shortcode/widget,
They produce the problem you mentioned above, the AJAX pagination works only when you display the search form and search result in the same shortcode [wpv-view], in your case, I suggest you edit the post view "Primary Filter" , choose another option: Pagination enabled with manual transition and page reload
And test again.

#1127527

Thanks Luo! That fixed the problem. Appreciate the help.