Title: Error in adding settings
Last modified: August 20, 2016

---

# Error in adding settings

 *  [federicom985](https://wordpress.org/support/users/federicom985/)
 * (@federicom985)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-in-adding-settings/)
 * Hi there,
 * I have a problem in adding new settings to the option tree. I added settings 
   1 month ago and all was ok. Now I need to add some new settings, but when I click“
   save changes” it happens a strange things: the new setting is not added to the
   option tree and lots of previous settings desappear!! But it seems that the the
   settings are kind of hidden but working, because the site works normally like
   before.
 * I really don’t know why and I need some help!
 * i can give the website and / or a dumpf of the database. Please I need very urgent
   help!!
 * [http://wordpress.org/extend/plugins/option-tree/](http://wordpress.org/extend/plugins/option-tree/)

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

 *  [Magzimus](https://wordpress.org/support/users/magzimus/)
 * (@magzimus)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-in-adding-settings/#post-3241817)
 * I have exact the same Problem. Did you find a solution?
 *  [wordpressworld](https://wordpress.org/support/users/wordpressworld/)
 * (@wordpressworld)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-in-adding-settings/#post-3241831)
 * yes, I got the same problem too, how can i do? for the last version it worked
   fine. please Derek help please.
 * P.S : Also hide theme-options.php in function.php but not work to add settings.
 * Best regards,
    Wordpressworld
 *  [htvu](https://wordpress.org/support/users/htvu/)
 * (@htvu)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-in-adding-settings/#post-3241842)
 * If I’m not wrong it happened when you use old version of OT. It belong to OT 
   bugs (fixed in latest version). The code that generate id for list item not run
   correctly. Everything will fine if you adding fields continually. Strange thing
   just happen when you delete some fields and add new ones.
 * Another case maybe cause lost settings is switching between Plugin mode and Theme
   mode.

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

The topic ‘Error in adding settings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/option-tree_363534.svg)
 * [OptionTree](https://wordpress.org/plugins/option-tree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/option-tree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/option-tree/)
 * [Active Topics](https://wordpress.org/support/plugin/option-tree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/option-tree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/option-tree/reviews/)

## Tags

 * [deleting](https://wordpress.org/support/topic-tag/deleting/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 3 replies
 * 4 participants
 * Last reply from: [htvu](https://wordpress.org/support/users/htvu/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/error-in-adding-settings/#post-3241842)
 * Status: not resolved