Title: Data not saving
Last modified: July 24, 2017

---

# Data not saving

 *  Resolved [jferezy](https://wordpress.org/support/users/jferezy/)
 * (@jferezy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/)
 * Hi there – I can not seems to get the plugin to save the data. The contact form
   7 plugin is sending the emails – but for some reason it is not saving in this
   system. Any help would be greatly appreciated. I have disabled all non essential
   plugins and have increased memory and max post input variables – still nothing.

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

 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9348091)
 * Please send WordPress and contact form 7 version details.
 *  Thread Starter [jferezy](https://wordpress.org/support/users/jferezy/)
 * (@jferezy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9349549)
 * Thanks for the quick reply!
 * Contact Form 7 – 4.8.1
    Wordpress 4.8
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9350464)
 * I tested, but it is working fine.
    Please change theme then test it.
 *  Thread Starter [jferezy](https://wordpress.org/support/users/jferezy/)
 * (@jferezy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9353764)
 * I have created a dev site and changed the theme to twenty seventeen and it seems
   to have worked. Not sure where to look now – any idea?
 * Thanks for your help!!
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9355867)
 * Add following code to your wp-config.php file
 *     ```
       define('WP_DEBUG', true);
       define('WP_DEBUG_LOG', true);
       ```
   
 * Then go to wp-content -> debug.log check error.
 *  Thread Starter [jferezy](https://wordpress.org/support/users/jferezy/)
 * (@jferezy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9356899)
 * Hmmm – I see the issue. I have some forms doing some db entries in the child 
   functions. When those are activated – the data is not being stored – but when
   I activate them – the data is not being stored:
 * remove_all_filters (‘wpcf7_before_send_mail’);
    add_action( ‘wpcf7_before_send_mail’,‘
   action_wpcf7_before_send_mail’, 10, 1 );
 * Maybe there is something wrong with these. Any idea?
 * Thanks for your help and time on this…
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9357075)
 *     ```
       remove_all_filters (‘wpcf7_before_send_mail’);
       add_action( ‘wpcf7_before_send_mail’, ‘action_wpcf7_before_send_mail’, 10, 1 );
       ```
   
 * Remove above code .
 *  Thread Starter [jferezy](https://wordpress.org/support/users/jferezy/)
 * (@jferezy)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9358379)
 * I got it. I removed that code and needed to adjust the contact form ID reference.
   Seems like it is working now – thanks for your help and time!!

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

The topic ‘Data not saving’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-cfdb7/assets/icon-256x256.png?rev=1619878)
 * [Database Addon for Contact Form 7 - CFDB7](https://wordpress.org/plugins/contact-form-cfdb7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-cfdb7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-cfdb7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-cfdb7/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [jferezy](https://wordpress.org/support/users/jferezy/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/data-not-saving-4/#post-9358379)
 * Status: resolved