Title: Corrupted cforms settings array (raw code)
Last modified: May 24, 2017

---

# Corrupted cforms settings array (raw code)

 *  Resolved [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * (@praveeninnolance)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/)
 * I have moved the cforms II plugin from live server to my local server. Since 
   some of the forms were not updated in my local, I copied the value of ‘cforms_settings’
   from ‘wp_options’ table from live site DB to my local db. Now I am getting the
   error ‘Corrupted cforms settings array (raw code)’ in both y local and live server.
   When I click on ‘Fix and Save Data’, it informs me to deactivate and active the
   plugin again. But after doing that all the forms which were present previously
   got removed. Kindly let me know how to fix this issue.

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

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9164464)
 * How did you copy the value? A safe way to do it would be using cformsII’s debug
   output (available on Global Settings), which lets you edit the value represented
   in JSON.
 *  Thread Starter [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * (@praveeninnolance)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9165910)
 * I copied the value directly from the table ‘wp_options’ in DB. I can’t see any
   option called ‘debug output’ under Global settings in cformII.
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166359)
 * Have a look at the top cforms Admin menu
 *  Thread Starter [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * (@praveeninnolance)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166434)
 * I can see that now. But when I click on ‘Produce debug output’, page is getting
   reloaded and I am not getting any data.
 * But I can see the option ‘Backup/restore all settings’ for exporting the data
   and importing it to another server.
 * Thanks
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166450)
 * What cforms version do you use? There should not be a ‘Backup/restore all settings’
   in the current version.
    -  This reply was modified 8 years, 11 months ago by [bgermann](https://wordpress.org/support/users/bgermann/).
    -  This reply was modified 8 years, 11 months ago by [bgermann](https://wordpress.org/support/users/bgermann/).
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166451)
 * Did you try debug output on the installation with proper data?
    -  This reply was modified 8 years, 11 months ago by [bgermann](https://wordpress.org/support/users/bgermann/).
 *  Thread Starter [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * (@praveeninnolance)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166480)
 * I am using the version 14.12
 * I just clicked on the ‘Produce debug output’ in cforms admin menu. It just reloads
   the global settings page. Nothing else happening.
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166489)
 * Then please update to 14.13.3.
 *  Thread Starter [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * (@praveeninnolance)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166510)
 * Now I see a text area with contents when I click on ‘Produce debug output’. So
   I have to copy the content from here and update this in the new server in the
   same area and save it. Am I correct?
 * Why the ‘Backup/Restore’ option is removed in this new plugin version. What if
   I want the backup of one particular form to be updated in another server.
    -  This reply was modified 8 years, 11 months ago by [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/).
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166535)
 * You are correct.
 * The option was removed, because the format it used to use is not very flexible
   and was bad to maintain. You can do all the things that option was used for with
   the debug output.
 *  Thread Starter [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * (@praveeninnolance)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166555)
 * Ok. Thanks for clarifying.

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

The topic ‘Corrupted cforms settings array (raw code)’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [praveeninnolance](https://wordpress.org/support/users/praveeninnolance/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/corrupted-cforms-settings-array-raw-code/#post-9166555)
 * Status: resolved