• Resolved Flector

    (@flector)


    Works in the “Data” widget and does not work in the “General Settings” widget.

    WP Search Insights v.1.3.8
    WordPress v.5.9.5

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark

    (@markwolters)

    Hi @flector,

    the General Settings and Data settings are saved in a seperate option group, leading me to believe there might be a conflict with a different plugin in regards to the General Settings. Could you try if temporarily disabling other plugins resolves the issue, or provide me with a list of plugins on your site so I can try to replicate your setup and check for possible conflicts? I’ve tried saving the general settings on WordPress 5.9.5 and didn’t experience the issue you are having.

    • This reply was modified 1 year, 10 months ago by Mark.
    Thread Starter Flector

    (@flector)

    I disabled all plugins, switched to the default theme and it still doesn’t work.

    Moreover, saving the text in the “Filters” field works, but the “Exclude admin searches” checkbox does not work. As well as “Exclude searches shorter than characters”.

    Can you suggest how to fix these settings directly in the database – it is very necessary to disable search from administrators.

    Plugin Author Mark

    (@markwolters)

    That’s odd, looks like the wpsi-settings are not registering correctly. This is the settings group used by the General Settings. The other filter/data blocks have their own group. The wpsi-settings are normally saved in the wp_options table. The easiest way to access this table is through a database manager via your hosting provider, for example PHPMyAdmin.

    To exclude admin searches, you can set option wpsi_exclude_admin in the wp_options table to 1

    To exclude searches shorter than X characters you can set the wpsi_min_term_length option to the amount of characters you want to set as the limit, for example 3 or 5

    It’s hard to say what’s causing this without being able to reproduce it. Could you check if the wpsi_exclude_admin and wpsi_min_term_length entries even exists in the wp_options table?

    Thread Starter Flector

    (@flector)

    Thanks a lot! The “wpsi_exclude_admin” parameter was not in the database, I created it manually and now saving the settings works. Thanks again!

    Neo

    (@firefliespilots)

    Dear @flector and @markwolters, i have the same conflict.

    I can’t save the settings if I want to enable Tracking Ajax Search or other settings. Where exactly does this “wpsi_exclude_admin” function need to go in the database? Directly just in the wp option and is there generally a general solution? Since I have noticed it on different hostings and different websites even with blank themes and without plugins.

    Thank you guys for help. Cheers and have a great day you guys.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Save settings not working’ is closed to new replies.