Forums Forums Search & Filter Pro Ajax and Polylang issue > 'no results found'

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #180518

    Hello,

    I’m currently testing a new website for a client and I’m having an issue: when I activate the Polylang plug-in, selecting or deselecting any filter option to produce different results (using shortcode) will display the message ‘No results found’. When I deactivate ‘Loading results using Ajax’, the filter works fine (but naturally without the smooth transition).
    Check the page/filter here: http://www.vankelst.com/wordpress/van-kelst-co-trainingen-communicatie-en-leidinggeven/

    I’ve searched this forum and found a topic with kind of a similar problem: https://support.searchandfilter.com/forums/topic/results-not-updating-when-using-ajax/
    Can you tell me what solution was used to fix this issue?
    Thank you in advance.

    Kind regards,
    Jef

    Trevor
    #180536

    How many, and what, post types are in your search? Is Media among them? Are each and every Post Type translated by Polylang?

    IF ‘Posts’ is one and there are others, try the search with just ‘Posts’ and one other, one pair at a time until you find the Post Type that is the issue (but it is often Media).

    Anonymous
    #180566

    Hello Trevor, thank you for your reply.

    There’s only one type of posts included in the search and none of them are translated, as of yet, in other languages than the standard language (Dutch).
    I’ll try to describe the exact problem (all in the standard language):
    – when Polylang is not yet activated, loading the page with all the (pre-filtered) posts and filtering the results works fine (the message ‘No results found’ is <u>not</u> displayed, only the correct filtered results)
    – when Polylang is activated, loading the same page with the posts works, but filtering the results (using any of the four filters) immediately returns the message ‘No results found’
    – when I deactivate ‘Loading results using Ajax’, the filtering works again (with Polylang still active)
    This led me to the conclusion that there’s a possible conflict between Polylang and the use of Ajax in the filter. But I could be wrong (I’m not a programmer).
    Point is that the client would like to see the smooth transition when filtering with Ajax, not the abrupt reloading when Ajax is deactivated.
    Is this information enough to look into this problem?

    Kind regards,
    Jef

    Trevor
    #180578
    This reply has been marked as private.
    Anonymous
    #180588
    This reply has been marked as private.
    Trevor
    #180604
    This reply has been marked as private.
    Anonymous
    #180608
    This reply has been marked as private.
    Trevor
    #180610
    This reply has been marked as private.
    Anonymous
    #180612
    This reply has been marked as private.
    Trevor
    #180614
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 12 total)