Forums Forums Search & Filter Pro Not working with Polylang

Viewing 6 posts - 31 through 36 (of 36 total)
  • Ross Moderator
    #180442
    This reply has been marked as private.
    Anonymous
    #180746

    Hi Ross,
    thanks for keeping us updated. So we tested the update and it seemed to work, but now isn’t, after manually clicking “Rebuild Cache”. It’s still the same problem with the products not showing up. Can you take a look again?

    Ross Moderator
    #180848
    This reply has been marked as private.
    Anonymous
    #180979

    Hey, so we found out what the problem is. It’s this part of your plugin:

    In class-search-filter-third-party.php:

    if (count($intersect) > 0) {
    $query_args[‘lang’] = implode( $terms_arr, “,” );
    }

    If no language is set, the cache fails to start.

    Ross Moderator
    #181007

    Hi, thanks for the info!

    What do you mean by “if no language is set”? For the search form itself?

    Thanks

    Anonymous
    #181052

    No, languages in Polylang. So if there are no languages set in Polylang, but it’s enabled, the cache doesn’t work.
    Apart from that, your fix in the latest beta worked.

Viewing 6 posts - 31 through 36 (of 36 total)