Title: When restoring database, this plugin is reset
Last modified: March 19, 2019

---

# When restoring database, this plugin is reset

 *  Resolved [tikitorcher](https://wordpress.org/support/users/tikitorcher/)
 * (@tikitorcher)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/when-restoring-database-this-plugin-is-reset/)
 * I am developing a theme with a local environment and a hosted environment. Each
   time I export my database from my local and import to my hosted instance (myphp
   admin > import), all of the settings for this plugin are reset. I have to reselect
   colors, etc each time. I am not sure if the settings aren’t being properly saved,
   exported, imported, or something else. Anyone else having this issue with this
   plugin? Any ideas?
    Thanks!

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

 *  Plugin Author [Nirmal Kumar Ram](https://wordpress.org/support/users/sagarseth9/)
 * (@sagarseth9)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/when-restoring-database-this-plugin-is-reset/#post-11356013)
 * Hello [@tikitorcher](https://wordpress.org/support/users/tikitorcher/) ,
 * Technically this should work fine. We have done this type of things many times
   and never seen any issue like this.
 * Did you try to check the database entry for it?
 * Regards
    -Nirmal
 *  Thread Starter [tikitorcher](https://wordpress.org/support/users/tikitorcher/)
 * (@tikitorcher)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/when-restoring-database-this-plugin-is-reset/#post-11357941)
 * Yes, I looked into the database entry as well. Most of the data seems to be stored
   a single field. After a fresh import, I diffed these fields and they were identical.
   However not of the options I had set were actually working at that time.
 * Once I logged into the hosted site and made a plugin config change (eg set a 
   color) the database entry changed drastically, with many options being set to
   zero on the hosted DB entry. I am not sure what causes the plugin to ignore the
   initial DB entry.
 *  Thread Starter [tikitorcher](https://wordpress.org/support/users/tikitorcher/)
 * (@tikitorcher)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/when-restoring-database-this-plugin-is-reset/#post-11415000)
 * I believe my issue was actually caused by how php serialized arrays. Serialized
   PHP unfortunately stores a string length for each string for some reason… :/ 
   I was doing find/replaces on my database export to modify the url for localhost,
   so that is what corrupted the database entry used by this plugin.
 * I finally figured this out based on
    [this](https://neliosoftware.com/blog/wordpress-migration-problems-and-how-to-fix-them/)
   article.
 * Thank you for responding back and for the nice plugin,
    Thanks!!
    -  This reply was modified 7 years, 1 month ago by [tikitorcher](https://wordpress.org/support/users/tikitorcher/).
      Reason: fixing broken link
 *  Plugin Author [Magnigenie](https://wordpress.org/support/users/magnigenie/)
 * (@magnigenie)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/when-restoring-database-this-plugin-is-reset/#post-11415297)
 * Hello [@tikitorcher](https://wordpress.org/support/users/tikitorcher/) ,
 * It’s good to hear that you figured out the problem.
 * Let me know if you need any further help and please leave a review for the plugin
   as it keeps us motivated to keep the plugin updated and provide support.
 * Regards

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

The topic ‘When restoring database, this plugin is reset’ is closed to new replies.

 * ![](https://ps.w.org/wp-responsive-menu/assets/icon-256x256.png?rev=2246917)
 * [WP Responsive Menu](https://wordpress.org/plugins/wp-responsive-menu/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-responsive-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-responsive-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-responsive-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-responsive-menu/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Magnigenie](https://wordpress.org/support/users/magnigenie/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/when-restoring-database-this-plugin-is-reset/#post-11415297)
 * Status: resolved