Title: Plugin settings are missing or changed
Last modified: September 29, 2016

---

# Plugin settings are missing or changed

 *  Resolved [RCooLeR](https://wordpress.org/support/users/rcooler/)
 * (@rcooler)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/)
 * We are using php7.0 on VPS.
    For few days I see settings are being wiped or password
   broken without any changes in the admin panel. As result, plugin can’t connect
   to API and show forms. I think reson might be in updating of API key but I am
   nor sure.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/page/2/?output_format=md)

 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8235326)
 * To make sure I’m understanding: you are able to authenticate and see everything,
   but it becomes unauthenticated without any actions taking place. Correct?
 *  [fastasleep](https://wordpress.org/support/users/fastasleep/)
 * (@fastasleep)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8237396)
 * I have this issue too — I think since we just updated the plugin a few days to
   the latest version. Periodically it’s losing the settings and logs us out, so
   all of our forms disappear sitewide until someone manually goes in and logs in
   again in the plugin settings page.
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8238489)
 * Got it. I’m looking into this—if it is happening as a result of this newest release,
   it must be related to removing some seemingly dead code, as the update focused
   on other areas.
 * If you can, post here how long it’s taking for the plugin to become unconnected.
   That can help me isolate the issue.
 *  Thread Starter [RCooLeR](https://wordpress.org/support/users/rcooler/)
 * (@rcooler)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8238523)
 * 2-3 times per day so 6-8 hours. Approx.
    I fixed it temporary for myself with
   hardcoding settings in get_settings() if they missing.
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8238693)
 * Thanks. I’m keeping my eye on this today and looking at what’s happening.
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8239334)
 * Try adding back the following at line 927 in `includes/pardot-settings-class.
   php` and then re-auth:
 * `$settings['password'] = self::pardot_encrypt( $settings['password'], 'pardot_key');`
 * That will mess up the formatting (possibly) in the settings area itself, but 
   may be the part that’s causing the un-auth issue.
    -  This reply was modified 9 years, 8 months ago by [Cliff Seal](https://wordpress.org/support/users/cliffseal/).
 *  [fastasleep](https://wordpress.org/support/users/fastasleep/)
 * (@fastasleep)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8240366)
 * From my client, “So far I had to fix it an additional time today, around 3-4 
   hours later. Yesterday, it was disconnecting roughly every 2-3 hours. So on average…
   every 3 hours? As for anything after 5:30pm, I’m not sure.”
 * As posted in the other thread, I’ve added that line of code to to the plugin 
   file and will see what happens. Crossing fingers. 🙂
 * My client had emailed Pardot Support directly before contacting me, and they 
   suggested the following, which makes no sense to me — but thought I’d let you
   know in case there is some possible connection (we are using W3 Total Cache on
   our site) though I can’t figure out why a caching plugin would possibly wipe 
   database settings:
 * “This problem can happen whenever there is a WordPress caching plugin or caching
   mechanism in place from a web host that is clearing the database information 
   where the authentication data is stored. When this happens, the connector will
   show as not authenticated because this data has been purged.
 * The effect is similar to clicking on the “Reset All Settings” button on the plugin
   settings page.
 * I’d recommend also contacting your webhost and seeing if they have any caching
   services that could be causing this to happen and have them disable or configure
   differently. Also, see if you have any caching plugins (such as WP Super Cache)
   enabled that would be clearing out this data.”
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8240513)
 * I’ve released the update after some successful testing. Let me know if 1.4.2 
   doesn’t do the trick.
 *  [fastasleep](https://wordpress.org/support/users/fastasleep/)
 * (@fastasleep)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8240693)
 * That code change didn’t work for us, it lost the settings again since I made 
   that change. I’ll try the update but if that’s the only change, that may not 
   be it, sorry.
    -  This reply was modified 9 years, 8 months ago by [fastasleep](https://wordpress.org/support/users/fastasleep/).
 *  [fastasleep](https://wordpress.org/support/users/fastasleep/)
 * (@fastasleep)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8240696)
 * Also, the API still doesn’t stick — if I try to change from 3 to 4 and save, 
   it just reverts to 3.
 *  [fastasleep](https://wordpress.org/support/users/fastasleep/)
 * (@fastasleep)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8240717)
 * Same problem again after updating, FYI. Settings are still present in the fields
   but the campaign dropdown goes back to “These will show up once you’re connected”
   and I gotta clear the fields and reauthenticate.
 * Can we roll back to a previous version?
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8241540)
 * Did you re-authenticate after updating? I’ve tried this in 3 different environments
   now, and the code itself is basically where it was in a previous update.
 * The API version will automatically revert to the one your account uses, so that’s
   an expected function.
 *  [fastasleep](https://wordpress.org/support/users/fastasleep/)
 * (@fastasleep)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8245190)
 * I think it had stayed signed in when I updated, so I probably just left it. I
   just checked again for the first time this weekend since last signing in though,
   and it seems to have stuck! Pretty sure it was just that one time I had to sign
   back in after updating. So, I’ll keep watching this obviously but looks like 
   it’s fixed if the above was just me neglecting to sign back in.
 * Thank you!
 *  Thread Starter [RCooLeR](https://wordpress.org/support/users/rcooler/)
 * (@rcooler)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8253487)
 * Looks like fixed.
 *  Thread Starter [RCooLeR](https://wordpress.org/support/users/rcooler/)
 * (@rcooler)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/#post-8273230)
 * Unfortunately, the issue appears again on one of our websites.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/page/2/?output_format=md)

The topic ‘Plugin settings are missing or changed’ is closed to new replies.

 * ![](https://ps.w.org/pardot/assets/icon-256x256.png?rev=2995205)
 * [Account Engagement](https://wordpress.org/plugins/pardot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pardot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pardot/)
 * [Active Topics](https://wordpress.org/support/plugin/pardot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pardot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pardot/reviews/)

 * 18 replies
 * 3 participants
 * Last reply from: [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-settings-are-missing-or-changed/page/2/#post-8306484)
 * Status: resolved