Forums › Forums › Search & Filter Pro › AJAX display results on pagination not working
- This topic has 6 replies, 2 voices, and was last updated 5 years, 5 months ago by
Trevor.
-
Anonymous(Private) November 12, 2019 at 9:44 am #226352
I have the following problem:
When I go to the page with my search form + results and click a pagination link to page 2 for example the whole website reloads instead of loading the results with AJAX, as set in the search form settings. However everything else works perfectly fine and the results are displayed properly.I have tried several things and I observed, that AJAX loading is working fine, when I first apply a s&f filter in the search form, and then click on the pagination link to get to the next results page.
AJAX results is as well working fine when applying any S&F filters in general.Specs are as follows:
Wordpress version: 5.2.4
Theme: Themeco Pro
PHP: 7.2.24
S&F pro: 2.4.6I already tried the following to troubleshoot the problem:
– Disabled all plugins except ACF pro and S&F No change.Alongside the frontend problem I run at a PHP warning everytime I save a search&filter form in the backend that contains a “Post Date” field, which first occoured at roughly the same time I had problems with AJAX:
Notice: Undefined index: date_use_dropdown_month in /home/awtalaay/public_html/wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php on line 221 Notice: Undefined index: date_use_dropdown_year in /home/awtalaay/public_html/wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php on line 222 Warning: Cannot modify header information - headers already sent by (output started at /home/awtalaay/public_html/wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php:221) in /home/awtalaay/public_html/wp-includes/pluggable.php on line 1251 Warning: Cannot modify header information - headers already sent by (output started at /home/awtalaay/public_html/wp-content/plugins/search-filter-pro/admin/includes/class-search-filter-post-data-validation.php:221) in /home/awtalaay/public_html/wp-includes/pluggable.php on line 1254
I display my S&F form and results with the provided shortcode method.
-
AuthorPosts