• Resolved milarepa75

    (@milarepa75)


    Hi,
    The Post types to include feature no longer seems to work. On my end, only “Project” is selected, yet the result does not display the projects. However, the result does show articles, even though “Article” is not selected.
    I have version 4.0.1. I’m not sure from which version this bug started, but I’m certain that for years this bug didn’t exist (and I haven’t changed any settings).

    If you could help/solve, it would be great !

    Thanks in advance.

    m

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ajay

    (@ajay)

    Hi, I thought I had fixed this in 4.0.1. Can you disable the plugins cache setting if it is enabled?

    Are you in a position to try 4.0.2 beta out here?

    https://github.com/WebberZone/better-search-pro/releases/tag/4.0.2-beta1

    Also, is this with seamless mode on or off? And lastly if it still doesn’t work, can you try checking with Query monitor what queries are generated for the plugin.

    https://webberzone.com/support/knowledgebase/debugging-with-query-monitor/

    Thread Starter milarepa75

    (@milarepa75)

    Thanks for your quick reply !

    “Enable cache”: now unchecked. This did not resolve the issue.

    “4.0.2 beta”: I’m not sure (I’m not very technical), but the link leads to a 404 error.

    “Enable seamless integration”: it was checked. I unchecked, saved, refreshed. This did not resolve the issue.

    “Query monitor”: I don’t know it, I’m looking into it.

    Thread Starter milarepa75

    (@milarepa75)

    Is this can help (if I navigate well on the Query Monitor…) :

    SELECT option_value
    FROM wp_options
    WHERE option_name = 'fs_storage_logger'
    LIMIT 1

    1. get_option()
      wp-includes/option.php:197
    2. FS_Logger::init()
      wp-content/plugins/better-search/freemius/includes/class-fs-logger.php:95
    3. FS_Logger::get_logger()
      wp-content/plugins/better-search/freemius/includes/class-fs-logger.php:75
    4. Freemius::_load_required_static()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:3396
    5. Freemius::instance()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:2818
    6. fs_dynamic_init()
      wp-content/plugins/better-search/freemius/start.php:553
    7. WebberZone\Better_Search\bsearch_freemius()
      wp-content/plugins/better-search/includes/load-freemius.php:26

    Extension : better-search00,00047SELECT option_value
    FROM wp_options
    WHERE option_name = 'fs_clone_management'
    LIMIT 1

    1. get_option()
      wp-includes/option.php:197
    2. FS_Option_Manager->load()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:173
    3. FS_Option_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:98
    4. FS_Option_Manager::get_manager()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:135
    5. FS_Clone_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-clone-manager.php:102
    6. FS_Clone_Manager::instance()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-clone-manager.php:93
    7. Freemius::_load_required_static()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:3436
    8. Freemius::instance()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:2818
    9. fs_dynamic_init()
      wp-content/plugins/better-search/freemius/start.php:553
    10. WebberZone\Better_Search\bsearch_freemius()
      wp-content/plugins/better-search/includes/load-freemius.php:26

    Extension : better-search00,00048SELECT option_value
    FROM wp_options
    WHERE option_name = 'fs_cache_17020'
    LIMIT 1

    1. get_option()
      wp-includes/option.php:197
    2. FS_Option_Manager->load()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:173
    3. FS_Option_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:98
    4. FS_Option_Manager::get_manager()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:135
    5. FS_Cache_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-cache-manager.php:40
    6. FS_Cache_Manager::get_manager()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-cache-manager.php:55
    7. Freemius->__construct()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:429
    8. Freemius::instance()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:2837
    9. fs_dynamic_init()
      wp-content/plugins/better-search/freemius/start.php:553
    10. WebberZone\Better_Search\bsearch_freemius()
      wp-content/plugins/better-search/includes/load-freemius.php:26

    Extension : better-search00,0004Total : 3 / 1700,0013

    Plugin Author Ajay

    (@ajay)

    Sorry I had the wrong link to the file. It’s this link.

    https://github.com/WebberZone/better-search/releases/tag/4.0.2-beta1

    You need to download the better-search.zip, go to Plugins / Add New / Upload and select the zip. It will ask to overwrite.

    On query monitor, all I need is query as per the examples. You will need to go to a search results page for this.

    https://webberzone.com/support/knowledgebase/debugging-with-query-monitor/#better-search-query

    Separately, to confirm you are selecting the post types to include in the Search tab.

    Thread Starter milarepa75

    (@milarepa75)

    4.0.2-beta1 : installed, not better

    The settings :
    https://drive.google.com/file/d/1odTlrNmN9yN0mQnfeAUFaqROb3dPD-qD/view?usp=drive_link

    https://drive.google.com/file/d/1omTCSxPv2w6FhiuzF7IQDbScsttHXWhr/view?usp=sharing




    Query Monitor : I’m on the result page and I have this :

    RequêteTousNon-SELECTSELECTSHOWAppelantTousRequête principale_prime_post_caches()_prime_term_caches()get_option()GFFormsModel::get_form()GFFormsModel::get_form_confirmations()GFFormsModel::get_form_meta()GFWebAPI->requires_schema_upgrade()InstagramFeed\Builder\SBI_Db::elementor_feeds_query()InstagramFeed\Builder\SBI_Db::source_query()SB_Instagram_Posts_Manager->does_resizing_tables_exist()update_meta_cache()wp_load_alloptions()WP_Post::get_instance()wp_prime_option_caches()WP_Query->get_posts()WP_Query->set_found_posts()WP_Term_Query->get_terms()WP_User::get_data_by()ComposantTousExtension : better-searchExtension : google-analytics-for-wordpressExtension : gravityformsExtension : health-checkExtension : imagifyExtension : instagram-feed-proExtension : really-simple-sslExtension : supreme-modules-for-diviExtension : updraftplusMU Plugin : health-check-troubleshooting-mode.phpThème parentC?ur de WordPressNon c?ur de WordPressLignesDurée6SELECT option_value
    FROM wp_options
    WHERE option_name = 'fs_storage_logger'
    LIMIT 1

    1. get_option()
      wp-includes/option.php:197
    2. FS_Logger::init()
      wp-content/plugins/better-search/freemius/includes/class-fs-logger.php:95
    3. FS_Logger::get_logger()
      wp-content/plugins/better-search/freemius/includes/class-fs-logger.php:75
    4. Freemius::_load_required_static()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:3396
    5. Freemius::instance()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:2818
    6. fs_dynamic_init()
      wp-content/plugins/better-search/freemius/start.php:553
    7. WebberZone\Better_Search\bsearch_freemius()
      wp-content/plugins/better-search/includes/load-freemius.php:26

    Extension : better-search00,00047SELECT option_value
    FROM wp_options
    WHERE option_name = 'fs_clone_management'
    LIMIT 1

    1. get_option()
      wp-includes/option.php:197
    2. FS_Option_Manager->load()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:173
    3. FS_Option_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:98
    4. FS_Option_Manager::get_manager()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:135
    5. FS_Clone_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-clone-manager.php:102
    6. FS_Clone_Manager::instance()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-clone-manager.php:93
    7. Freemius::_load_required_static()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:3436
    8. Freemius::instance()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:2818
    9. fs_dynamic_init()
      wp-content/plugins/better-search/freemius/start.php:553
    10. WebberZone\Better_Search\bsearch_freemius()
      wp-content/plugins/better-search/includes/load-freemius.php:26

    Extension : better-search00,00048SELECT option_value
    FROM wp_options
    WHERE option_name = 'fs_cache_17020'
    LIMIT 1

    1. get_option()
      wp-includes/option.php:197
    2. FS_Option_Manager->load()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:173
    3. FS_Option_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:98
    4. FS_Option_Manager::get_manager()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-option-manager.php:135
    5. FS_Cache_Manager->__construct()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-cache-manager.php:40
    6. FS_Cache_Manager::get_manager()
      wp-content/plugins/better-search/freemius/includes/managers/class-fs-cache-manager.php:55
    7. Freemius->__construct()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:429
    8. Freemius::instance()
      wp-content/plugins/better-search/freemius/includes/class-freemius.php:2837
    9. fs_dynamic_init()
      wp-content/plugins/better-search/freemius/start.php:553
    10. WebberZone\Better_Search\bsearch_freemius()
      wp-content/plugins/better-search/includes/load-freemius.php:26

    Extension : better-search00,0009Total : 3 / 1170,0017

    Plugin Author Ajay

    (@ajay)

    Thanks. The settings look fine. I need to see the query generated. Can you please go to Query Monitor / Queries by Component / Plugin: Better Search. Under Caller select WP_Query->get_posts(). Let me know if you don’t see it. If you don’t you might need to change Component to WordPress Core.

    What theme are you using?

    What are you using to create the Projects CPT?

    If all of these don’t work, please can you create a support query via https://webberzone.com/request-support/

    Thread Starter milarepa75

    (@milarepa75)

    Hi,

    I’m on the result page, I go to Query Monitor etc., I find WP_Query->get_posts() but there is no result.
    See : https://drive.google.com/file/d/1pMe4o0Os44suxgayq-huX2XDp0HmhLam/view?usp=sharing

    I’m using the Divi theme (up to date, and WordPress 6.7.1)

    To create the projects I use standard WordPress, I guess, + Divi builder
    https://drive.google.com/file/d/1pRmJqbmLLXsfo6YCLir38X8PVp3fNU0N/view?usp=sharing

    m

    Plugin Author Ajay

    (@ajay)

    Divi shouldn’t be the issue. Can you check the WP_Query->get_posts() but change the Component filter to WordPress Core? I don’t know why it’s not showing but I’m wondering if this is a Divi thing. However, Divi shouldn’t cause an issue.

    You might need to create a support ticket via the link above to my site.

    @milarepa75 I couldn’t reproduce this behavior with Divi and your settings. There must be something interfering with the query.

    You could try the Site Health plugin and within use the troubleshooting mode. This disables every plugin and enables a default theme, but only for the logged-in admin profile. Hopefully the bug is gone after this. Now you can re-enable Divi and every plugin, but after each plugin you could try if the problem is re-occurring.

    Using this way, we can narrow down what is causing the problem.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.