Title: 3.9 Breaks CFDB Plugin
Last modified: August 21, 2016

---

# 3.9 Breaks CFDB Plugin

 *  Resolved [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/)
 * I’m the author of [CFDB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
   which captures CF7 form submissions and saves them to the DB.
 * The plugin listens to the wpcf7_before_send_mail hook and pulls the form submission
   data from the object passed in ($object->posted_data) but “posted_data” no longer
   appears. The passed in object does have the form definition information, but 
   has none of the form submission data.
 * Anyone else relying on wpcf7_before_send_mail to do something with with the data
   will also have this problem.
 * Please advise on how data can be collected in version 3.9. Many sites are rely
   on both these plugins.
 * Thank you.

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

1 [2](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/page/2/?output_format=md)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097778)
 * Hi Michael,
 * Use this instead:
 *     ```
       $submission = WPCF7_Submission::get_instance();
   
       if ( $submission ) {
       	$posted_data = $submission->get_posted_data();
       }
       ```
   
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097791)
 * See Also
    - [Contact Form 7 3.9](http://contactform7.com/2014/07/14/contact-form-7-39/)
    - [Contact Form 7 3.9 Beta](http://contactform7.com/2014/07/02/contact-form-7-39-beta/)
 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097805)
 * [@takayuki](https://wordpress.org/support/users/takayuki/) Mioyshi
 * Maybe its a good idea if you create a short sticky topic here, what people have
   to do when they run into troubles with the latest version of cf7? So hopefully
   they look first on the sticky topic and duplicate questions can be reduced. We
   can also write a FAQ there.
 * Maybe some title like:
 * IMPORTANT: FAQ CF7 3.9 Common issues.
 * Btw. Thanks for the latest update. I love it! Thanks for it:-)
 * Best,
    René
 *  [sm1372](https://wordpress.org/support/users/sm1372/)
 * (@sm1372)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097810)
 * [@takayuki](https://wordpress.org/support/users/takayuki/) Mioyshi
 * > $submission = WPCF7_Submission::get_instance();
   > if ( $submission ) {
   >  $posted_data = $submission->get_posted_data(); }
 * NOT WORK!!!!
 * CFDB after contact form updated to last version , don’t save any data in DB table
   and only create new row!
 * please help me!!!
 *  [fl0ri](https://wordpress.org/support/users/fl0ri/)
 * (@fl0ri)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097812)
 * I seriously need a fix here. All our feedback data collection relies on the working
   combination of “Contact Form 7” and “CFDB”. Please try hard!
 *  Thread Starter [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097813)
 * i’m working on it right now
 *  Thread Starter [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097814)
 * I just pushed version 2.8.2 to mostly fix the issue. It should appear as an available
   update shortly.
 * [@takayuki](https://wordpress.org/support/users/takayuki/)
    I still seem to have
   a problem. When I click the submit button on my form I do get the data saved 
   and an email sent to me, but the form shows the spinning wait icon and it doesn’t
   go away. It looks like the form is stuck. I return “true” from my function hooked
   up to wpcf7_before_send_mail. Any thoughts on what would be causing that?
 * Thanks.
 *  [s_nickpour](https://wordpress.org/support/users/s_nickpour/)
 * (@s_nickpour)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097819)
 * Hello
    i just updated contact form 7 to 3.9 but after that the contact form 7
   database extension(CFDB) does not work properly and the submission data does 
   not show and the fields look empty please fix this… it is better that the authors
   of these 2 plugins have better cooperation and before releasing new versions,
   discuss about these probable errors beacause millions of sites are using these
   2 plugins together
 *  [fl0ri](https://wordpress.org/support/users/fl0ri/)
 * (@fl0ri)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097821)
 * [@michael](https://wordpress.org/support/users/michael/): Thank you very much.
   I truly appreciate it.
    [@s_nickpour](https://wordpress.org/support/users/s_nickpour/):
   I just applied Michaels update and on my installation it seems to be fixed. (
   CFDB 2.8.2 + CF7 3.9). Mails are sent, values appear in the database.
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097841)
 * [@msimpson](https://wordpress.org/support/users/msimpson/) Michael, maybe I can
   find out the cause of the issue if I can check the site having the issue. Can
   I have the URL?
 *  Thread Starter [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097846)
 * [@takayuki](https://wordpress.org/support/users/takayuki/)
    I think I have it
   resolved. My code was accessing WPCF7_ContactForm::title directly which is now
   private. This works to get the data but seems to cause a side-effect. Using the
   WPCF7_ContactForm::title() method seems to fix it.
 *  [sm1372](https://wordpress.org/support/users/sm1372/)
 * (@sm1372)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097850)
 * [@michael](https://wordpress.org/support/users/michael/) Simpson
 * Finally can you help me how to fix it?
 * conflict with last version of contact form 7 and cfdb!
 *  Thread Starter [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097851)
 * What do you mean by “conflict”?
 *  [sm1372](https://wordpress.org/support/users/sm1372/)
 * (@sm1372)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097852)
 * SOLVED with update for CFDB 2 mins ago …
 *  [Jason](https://wordpress.org/support/users/zushiba/)
 * (@zushiba)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/#post-5097855)
 * Our library is set up to collect data using wpcf7_before_send_mail, which redirects
   the data into a database so I can generate graphs from it, and we’ve just lost
   over 3 hours of work.
 * Is there a quick way to get this back online? Damn things made me look incompetent.
 * Is there any way to downgrade to 3.8 or something? I need to fix this and I’d
   rather keep the validation instead of just writing my own form/shortcode.

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

1 [2](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/page/2/?output_format=md)

The topic ‘3.9 Breaks CFDB Plugin’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 24 replies
 * 8 participants
 * Last reply from: [slboytoy](https://wordpress.org/support/users/slboytoy/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/39-breaks-cfdb-plugin/page/2/#post-5097951)
 * Status: resolved