• Resolved rik113

    (@rik113)


    I’m having a hard time getting Relevanssi working and it seems like UAM is somehow blocking it.

    Per the Relevanssi Plugin Developers:
    “Relevanssi is in place, and is blocking the default WP search as it should. However, something else is blocking Relevanssi, removing it completely from the list of filter hooks. In “after_setup_theme”, relevanssi_do_query is listed in the list of hooks for “the_posts”, with the correct priority of 11. However, in “wp_loaded” or “init” slightly later, it’s already gone.

    Something is removing Relevanssi. If I disable User Access Manager, I see search results, so that’s probably the culprit. There’s some interaction between UAM and Relevanssi. Why UAM would go about removing Relevanssi hooks is a question best asked from the UAM developers, I think.”

    Does it make sense that UAM would be removing the Relevanssi hooks? If so, how might I stop it from doing so?

Viewing 8 replies - 1 through 8 (of 8 total)
  • kimbro

    (@kimbro)

    I am having exactly the same problems using UAM + Revelanssi + woocommerce on wordpress site. Everything worked fine up till the last WP update.
    I have tried adding the following code to the themes custom_functions.php with no results:
    <?php
    add_filter(‘after_setup_theme’, ‘rlv_move_to_later_priority’);
    function rlv_move_to_later_priority($priority) {
    remove_filter(‘the_posts’, ‘relevanssi_query’);
    add_filter(‘the_posts’, ‘relevanssi_query’, 11);
    }
    ?>
    ===============
    Hope someone can help fast as site is broken now.

    Plugin Author gm_alex

    (@gm_alex)

    Could you please create an issue here: https://github.com/GM-Alex/user-access-manager/issues

    Thank you. Let’s continue the talk there.

    • This reply was modified 9 years ago by gm_alex.
    kimbro

    (@kimbro)

    Hi Alex,
    Sorry I can’t log in to github to post this issue there at the moment – keep getting message “something went wrong”

    Plugin Author gm_alex

    (@gm_alex)

    @rik113 & @kimbro you could try the version from here (best would be in a test environment): https://github.com/GM-Alex/user-access-manager/archive/master.zip

    Feedback it that version fixes the issues would be great.

    kimbro

    (@kimbro)

    Thanks for the link.
    This has not fixed the issue. Also tried three other search plugins – all conflicting with UAM.

    Strange thing is happening with UAM and Revelanssi combination.
    If doing a search for SKU # when logged in = no results until I log out.
    If I do the same search whilst logged out = no results ie no posts found.

    Plugin Author gm_alex

    (@gm_alex)

    Could you try version 2.0.9 from here https://github.com/GM-Alex/user-access-manager/releases/tag/2.0.9

    Please give feedback if that version works for you.

    Thread Starter rik113

    (@rik113)

    I worked with 2.0.9 for about an hour and it didn’t seem to fix the issue.

    Plugin Author gm_alex

    (@gm_alex)

    For me it works the same way no matter I have UAM activated or deactivated with this version https://github.com/GM-Alex/user-access-manager/archive/master.zip

    Could you try it with all other plugins disabled maybe an other conflict produces the issue. Could you als rebuild the index maybe it’s a caching issue.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Relevanssi’ is closed to new replies.