• Resolved danielmelnechuk

    (@danielmelnechuk)


    Just installed ABS 4.2.0 in WP 5.0.4 and PHP 7.0.
    Using Beaver Builder Pro theme w/child theme that has no code as of this moment.

    No results are returned from any search, even of words in titles.

    Indexing works. When i deactivate ABS, search works.

    I’ve done the following:

    • Rebuilt the index
    • Deactivated and reactivated ABS

    Any thoughts as to where to look for issue?

    Peace,
    Dan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    On the Better Search support forums?

    In case you’re using Relevanssi and not Better Search, have you tried switching to another theme? You don’t even have to switch completely, just do a live preview with one of the default themes. Does the search work then?

    Do the second step from this list and report the results.

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    I am using Relevanssi – A Better Search. That’s why i posted here. Sorry for using the wrong part of the name of the plugin. Perhaps you should rename it just Relevanssi.

    I switched in live preview to 2019 theme, added a search widget to the footer and noting is found.

    Then i added the code from the second in the list to the functions.php in 2019 theme:

    add_filter( 'relevanssi_query_filter', 'rlv_check_mysql' );
    function rlv_check_mysql( $query ) {
        var_dump( $query );
        exit();
    }

    And then ran a search and nothing is dumped to the window.

    Thanks for the tests. I can do more if you can think of something.

    Peace,
    Dan

    Plugin Author Mikko Saari

    (@msaari)

    I checked, and looks like you can’t run the test codes in a live preview theme. Also, whatever the test code prints out in Twenty Nineteen is not relevant to solving problems with the active theme. So please try the code in your active theme and see if that prints out something.

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi Mikko,

    I found another search plugin that just works, Ivory Search, before i heard back from you. Will eventually get to testing Relevanssi when i have a moment but those are sparse and the site is active now and working.

    Peace,
    Dan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A Better Search 4.2.0 w/WP 5.0.4/PHP7 no results returned’ is closed to new replies.