• topgun200204

    (@topgun200204)


    Hi,

    I am migrating a site from my local development machine to the staging environment at the hosting server. I have all WP-Members options, fields, dialogs, and emails settings exported from my local machine via SQL. I confirmed that all settings correctly exist in the wp_options table but for some reasons, as soon as I logged in to the WordPress backend and clicked into Settings -> WP-Members, all the settings disappeared. I then looked at the wp_options table again and realized that all the settings that were there a minute ago disappeared as well.

    Do you know what may be causing this?

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    It could possibly be the stylesheet setting. The stylesheet setting contains the full URL in the setting. Interestingly, even though it’s something I’ve wanted to change in the plugin, it hasn’t caused this type of issue that I’m aware of. Then within the last couple of weeks, you’re the second person to provide this description.

    The suspected issue is an invalid value in the serialized settings array after migration as a result of the URL change. This causes the plugin’s settings check to think that the settings don’t exist even though they do, so it reapplies the defaults so things don’t break.

    After the first person reported it, I started working on a way to handle the update of the setting so we can change it. But that’s not tested enough yet to release.

    In the meantime, here’s a possible workaround so you can migrate:

    1. In the plugin’s main options, change the stylesheet setting (dropdown) to use a custom stylesheet.
    2. Leave the custom value blank if you can (best) – or – enter a value with the new URL (either way, you’ll change this after you migrate)
    3. Try migrating again. If successful, you can clear the stylesheet URL value and reselect from the dropdown
    airdrummer

    (@airdrummer)

    the full URL in the setting.

    isn’t that the wordpress way, not just u ur plugin? def. makes migration a pita;-\

    Thread Starter topgun200204

    (@topgun200204)

    Thank you for your quick reply, @cbutlerjr!

    I tried your suggested workaround but it didn’t work. All the WP-Members settings I imported via SQL would disappear as soon as I clicked into Settings -> WP-Members.

    What else can I do?

    Many thanks!

    Thread Starter topgun200204

    (@topgun200204)

    Hi @cbutlerjr,

    Checking in to see if you may have some update on this issue.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP-Members Options and Settings got Reset’ is closed to new replies.