Forums Forums Search & Filter Pro Cache is empty sporadically

Viewing 10 posts - 11 through 20 (of 25 total)
  • Trevor
    #177694

    Ah. I see that you use WP Engine, which gives me an idea.

    There is a setting to override a feature of WP Engine hosting, that truncates long SQL queries (which ours are). Edit the site wp-config.php file and add this at the top, after line 1 (on a new line 2):

    define('WPE_GOVERNOR', false);

    (also see here for another related support note about this – https://support.searchandfilter.com/forums/topic/killed-query-errors-in-log/#post-64826)

    I would just say though, that rather than adding this in blindly, to research and make sure this setting doesn’t adversely affect anything in your site.

    Anonymous
    #177696

    Thanks Trevor, I’ll surely look into this. Thanks for the tip!

    Anonymous
    #177882

    Hi Trevor, unfortunately, like clockwork, empty again this morning. I did add in the “define(‘WPE_GOVERNOR’, false);” to my wp-config and confirmed nothing else was adversely effected on the site, but the issue persists. Running out of ideas.

    Trevor
    #177886
    This reply has been marked as private.
    Anonymous
    #177893
    This reply has been marked as private.
    Anonymous
    #177895
    This reply has been marked as private.
    Trevor
    #177897
    This reply has been marked as private.
    Anonymous
    #177899
    This reply has been marked as private.
    Trevor
    #177943
    This reply has been marked as private.
    Anonymous
    #177949

    Yes actually, there is a cron running which makes sure the other form is filled. Looks like it’s clearing out the search and filter cache.

     if(is_plugin_active("search-filter-pro/search-filter-pro.php")){
            $wpdb->query("DELETE FROM <code>lgn_search_filter_cache</code>");
            $wpdb->query("DELETE FROM <code>lgn_search_filter_term_results</code>");
     }

    Is this deleting the entire cache?

    If so is there a way to delete the cache of a specific form instead?

Viewing 10 posts - 11 through 20 (of 25 total)