• Resolved Ricky Poon

    (@poonasor)


    After a recent update I’m getting the following:

    [28-May-2024 18:26:45 UTC] PHP Fatal error:  Uncaught Error: Class 'SearchWP\Query' not found in /public_html/wp-content/plugins/searchwp-live-ajax-search/includes/class-client.php:94
    Stack trace:
    #0 /public_html/wp-content/plugins/searchwp-live-ajax-search/includes/class-client.php(52): SearchWP_Live_Search_Client->show_results_searchwp_active()
    #1 /public_html/wp-includes/class-wp-hook.php(324): SearchWP_Live_Search_Client->search('')
    #2 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #3 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_searchw...')
    #5 {main}
      thrown in /public_html/wp-content/plugins/searchwp-live-ajax-search/includes/class-client.php on line 94

    My client is still on SearchWP Version 3.1.16 

    After more testing/debugging I’ve found that disabling the SearchWP plugin resolves the issue.

    Is there a specfic version I should be using for SearchWP Version 3.1.16?

    • This topic was modified 6 months ago by Ricky Poon.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Elio Bruno

    (@ambrelio)

    Hi @poonasor ,

    SearchWP 3.x reached its end of life a few years ago and replaced by SearchWP 4.x.
    Since version 1.8.0, SearchWP Live Ajax Search has dropped compatibility with SearchWP 3.x and therefore causes the error you see.

    We suggest to alway use up to date plugins, however, if for any reason you cannot update SearchWP on the site, you should download an older version of the Live Ajax Search plugin prior to version 1.8.0.

    I hope this helps!

    Thread Starter Ricky Poon

    (@poonasor)

    Thanks, I’ve downgraded to 1.7.6 and its now working again

    Plugin Support Elio Bruno

    (@ambrelio)

    Hi @poonasor,

    Thanks for letting us know!

    I am going to mark this ticket as resolved but if you need further help, fell free to reopen it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Class ‘SearchWP\Query’ not found’ is closed to new replies.