Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Pagination Issue
- This topic has 5 replies, 2 voices, and was last updated 2 years, 9 months ago by
Ernest Marcinko.
-
AuthorPosts
-
August 10, 2023 at 9:28 am #45028
johnny
ParticipantHi there,
We’re experiencing an issue with the search results page.
When trying to load more products through pagination we receive the following error: ‘This request has failed. Please check your connection.’
Steps to reproduce the error:
1. Click the search icon from the navigation menu.
2. Type a search term and hit enter.
3. On the search results page click the pagination link (page 2 for example).
4. The page doesn’t load any more results and gives the error ‘This request has failed. Please check your connection.’Please advise and reply to [email protected]
Kind regards,
JohnnyAugust 10, 2023 at 3:06 pm #45040Ernest Marcinko
KeymasterHi Johnny,
Thank you very much for the details!
I logged in to quickly check, and the server reported a “too long URL” issue, which was caused by some unused filters. I have cleared these from the frontend search settings panel, and now those query parameteres are no longer present in the pagination link (it made it shorter).
Now clicking on any of the pages should be all right.August 10, 2023 at 3:18 pm #45043johnny
ParticipantHi Ernest,
Many thanks for the support! That has fixed the issue with the product search result pagination.
It seems there is still an issue with the blog post search results though.
Steps to reproduce the issue:
1. Click the search icon from the navigation menu.
2. Select the ‘News & Events’ tab.
3. Type a search term and hit enter.
4. On the search results page click the pagination ‘load more’ button.Any ideas?
Kind regards,
Johnny
August 10, 2023 at 3:28 pm #45044Ernest Marcinko
KeymasterGreat!
Oh I didn’t realize there was another search bar. In that case I see you are trying to make a custom results page via this tutorial.
From the page source it seems that the element type is incorrect, make sure to use the Posts widget and not the Archive posts widget.
I also advice agains using the “load more” feature if you notice any weirdness with it. Elementor may not be happy about trying to override the posts, however the pagination should still work just fine.August 10, 2023 at 4:26 pm #45047johnny
ParticipantMany thanks Ernest. That solved the problem.
I notice now on the product search results page that the ‘enter key’ or ‘magnifying glass’ icon doesn’t refresh the page. Seems as though the redirect trigger has stopped working?
Thanks again for taking a look at this. Much appreciated.
Kind regards,
JohnnyAugust 11, 2023 at 1:36 pm #45060Ernest Marcinko
KeymasterYou are very welcome Johnny!
I checked, and it was because of this option was enabled, at the same time as the elementor live loading – so the plugin could not figure out which element to live load, so it just stopped.
I turned it off (as it is redundant), now it should be okay again. -
AuthorPosts
- You must be logged in to reply to this topic.