Forums Forums Search & Filter Pro Display bug

Viewing 10 posts - 1 through 10 (of 38 total)
  • Anonymous
    #242172

    Hallo,

    We use search and filter for many sites and I’ve never run into this problem..

    We use S&F to show a custom post type named “shops” and output the results with a shortcode. The filter itself is displayed, the results-div is also shown in the HTML. But no shops are being displayed. But this is where it gets weird. Then I rebuild the cache and refresh the shops page with de results it shows some of the shops. (The onces that are built into the cache up untill that moment, I guess). It also starts to show more and more shops whenever I refresh again. But when the cache rebuild is done, no shops are being displayed anymore. I’ve tried updating S&F from 2.4.2 to 2.5 but nothing changed. I also checked the DB search_filter_cache table and it does have rows with some of the shop ID’s, so they should be in the cache right?

    Also I use another filter for woocommerce products and this filter works and displays without any issues. I’m clueless on whats going on..

    Anonymous
    #242181

    Just noticed that in the query S&F does have:
    [post_type] => Array ( [0] => shop )

    Which is correct but also has:

    [post__in] => Array (
      [0] => 3390
      [1] => 3583
      ...
    

    Which are all product id’s….

    Anonymous
    #242190

    Another mentionable discovery, I deleted the product filter and the shop filter instantly started working. Restored the product filter and the product filter broke. Rebuild the cache and only the product filter worked again. Tested it with S&F 2.4.6 and 2.5.

    Trevor
    #242202
    This reply has been marked as private.
    Anonymous
    #242204
    This reply has been marked as private.
    Anonymous
    #242209
    This reply has been marked as private.
    Trevor
    #242276
    This reply has been marked as private.
    Anonymous
    #242294
    This reply has been marked as private.
    Trevor
    #242300
    This reply has been marked as private.
    Anonymous
    #242304
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 38 total)