Forums Forums Search & Filter Pro Issue with multisite

Tagged: 

Viewing 10 posts - 1 through 10 (of 13 total)
  • Anonymous
    #145699

    Hi,
    is there a specific configuration for using your plugin in multisite?
    I’ve created a custom post type that is used on all the sites but with differents posts in each sites.
    The plugin works fine with the first site ( blog_id=1) but with the others site the search filter give the results from the custom post site n° 1.

    How can I have the plugin filter giving results from his own site.
    Sorry if i’m not really clear , i’m french
    Best regards

    Patrice Coaoclo

    Trevor
    #145733

    Is our plugin activated at Network level or at site level?

    If you look at the database, does it appear to have one set of cache tables, or one set per site it is activated on?

    Anonymous
    #145741

    It’s actived at Network level and there’s one set cache tables per site

    When I print the $searchfilter in search-filter-pro/public/class-search-filter.php i get this

    [WP_FILTER] =>
    [post_updated_count:Search_Filter_Post_Cache:private] => 0
    [cycle_error_amount:Search_Filter_Post_Cache:private] => 120
    [cache_table_name] => solidarauto_25_search_filter_cache
    [term_results_table_name] => solidarauto_25_search_filter_term_results
    [table_name_options] => solidarauto_25_options
    [option_name] => search-filter-cache
    )

    but when I print $this->cache in search-filter-pro/public/includes/class-search-filter-query.php

    I get this wich are params from the blog_id( 1)
    [table_name] => solidarauto_search_filter_cache
    [results_url] => http://solidarauto.org/nos-voitures-a-vendre/

    Anonymous
    #145744

    When I create a new Search form in a site and copy the shortcode in the page results it doesn’t work, I get a blank page. There’s only the seacrh form created in the site id= 1 that works.
    When I use the shortcode from site id=1 and copy it in a page of an another site I get results but there are not the results I want obviously.

    Trevor
    #145754

    do you have any plugins associated with multisite, for example one that shares taxonomies or posts across sites? This is likely to be the issue.

    Anonymous
    #145756

    yes I use CPT UI

    Anonymous
    #145758

    is there a way to fix it ?

    Trevor
    #145760

    Are you able to test something for me? A simple test. Have a couple of posts in Site 1 and the other site and add some categories to them. Make a simple search, using the shortcode display results method, make two pages, one in each site, for the form and results shortcodes. Does that keep the posts in each site’s results correctly?

    Anonymous
    #145764

    I created two new posts in a new site wich has been cloned. I created two new categories for each post. I created a new search form and a new page for the form and results and I get a blank page.
    I did the same for the site 1 and all is right.

    The new sites are cloned with the plugin NS Cloner – Site Copier

    Trevor
    #145768
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 13 total)