• Resolved jchawkins725

    (@jchawkins725)


    Hello,

    I am encountering an issue with saving some of the indexing options. When I click save, it acts like it saves, but my choices go away. Specifically, I’m trying to add “some” custom fields and uncheck the expand shortcodes options.

    For some background, we are in the process of testing a new theme. On the old theme, the indexing timed out and wouldn’t finish. I tried a few times, but as some of the notes point out, I believe something was happening within search.php. After switching to the new theme, the index built quickly. The only problem is that I can’t get my options to save now. I’m curious if something happened within the database when the indexing initially failed. The options listed above are the options I can’t save. Everything else seems to work. These were also the options I initially used on the failed index builds. Do you have any recommendations on removing or checking on anything in the database? I have had no success with removing and reinstalling the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The only thing that comes to mind is that the option is missing from the wp_options database table, but uninstalling and reinstalling the plugin should fix that.

    You can check the options from the database. Expanding shortcodes is relevanssi_expand_shortcodes and custom field setting is relevanssi_index_fields.

    You can also try setting them from code:

    update_option( 'relevanssi_expand_shortcodes', 'on' );
    update_option( 'relevanssi_index_fields', 'some' );
    Thread Starter jchawkins725

    (@jchawkins725)

    Thank you for the quick reply. I did discover that those options were missing from the wp_options table. I was able to add them in manually at first to get them working.

    Curiously, after removing the plugin and reinstalling, they would disappear again from wp_options. We are on wpengine and after clearing our entire site cache, the install worked with all of the relevanssi fields in wp_options. I did not think the cache within wpengine could impact plugin installs, but it is good to know that it can impact it.

    Thanks again for your help as it led me to the solution.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Indexing options won’t save’ is closed to new replies.