Forums › Forums › Search & Filter Pro › Search Error
Tagged: ajax error
- This topic has 6 replies, 2 voices, and was last updated 9 years, 2 months ago by Ross.
-
Anonymous(Private) August 21, 2015 at 9:27 pm #23559
The Ajax Search does not work on our site. In order to ensure it wasn’t a theme conflict, I reset it to the 2015, and we still get the error. I know you’re planning on releasing the update soon but we’re planning to launch soon, so I need to know if this will be fixed in the next update.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Search_Filter_Get_Results’ does not have a method ‘wpse52480_query_vars’ in /nas/wp/www/staging/domainname/wp-includes/plugin.php on line 213
Ross Moderator(Private) August 23, 2015 at 11:32 am #23581Hi Betsy
I’m not sure if you’ve made any modifications to the plugin, but there is a line in
class-search-filter-get-results.php
://add_filter( 'query_vars', array($this, 'wpse52480_query_vars') );
Which should be commented out (and completely removed actually, which it is in the latest version) – it seems this is not the case in your setup.
Thanks
Ross Moderator(Private) September 1, 2015 at 11:22 am #24138This reply has been marked as private.Ross Moderator(Private) September 1, 2015 at 3:32 pm #24187Hi Betsy its really strange, I look at the latest version and this line is commented out – if you have had to comment this out then you are not on the latest version.
In addition, you seem to the only one having this issue.
If you take a look at this error:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Search_Filter_Get_Results’ does not have a method ‘wpse52480_query_vars’ in /nas/wp/www/staging/domainname/wp-includes/plugin.php on line 213
It is saying the function
wpse52480_query_vars
does not exist – so by commenting out this line, then there is no reference to this anywhere in the plugin – if you are still getting this error after commenting out something else is wrong somewhere – or you are viewing cached versions of your pages.Anyway, 2.0 will be out soon and there is again, like the latest version no reference to this function so hopefully will be all good by then 🙂
Thanks
-
AuthorPosts