Title: CF7DBPlugin
Last modified: August 3, 2021

---

# CF7DBPlugin

 *  Resolved [mfaimtf](https://wordpress.org/support/users/mfaimtf/)
 * (@mfaimtf)
 * [5 years ago](https://wordpress.org/support/topic/cf7dbplugin/)
 * Hello
 * Some of our pages use contactform7 version 5.4.2 together with the “Email Before
   Download” version 6.6.
 * There, after sending the Form we get following error:
 * >     ```
   >     [Mon Aug 02 11:08:14.838915 2021] [php:error] [pid 56568] [client 192.168.255.57:48354] PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /var/www/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:848
   >     Stack trace:
   >     #0 /var/www/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php(848): implode()
   >     #1 /var/www/wp-content/plugins/contact-form-7-to-database-extension/CFDBIntegrationContactForm7.php(55): CF7DBPlugin->saveFormData()
   >     #2 /var/www/wp-includes/class-wp-hook.php(305): CFDBIntegrationContactForm7->saveFormData()
   >     #3 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
   >     #4 /var/www/wp-includes/plugin.php(518): WP_Hook->do_action()
   >     #5 /var/www/wp-content/plugins/contact-form-7/includes/submission.php(458): do_action_ref_array()
   >     #6 /var/www/wp-content/plugins/contact-form-7/includes/submission.php(81): WPCF7_Submission->before_send_mail()
   >     #7 /var/www/wp-content/plugins/contact-form-7/includes/submission.php(25): WPCF7_Submission->proceed()
   >     #8 /var/www/wp-content/plugins/contact-form-7/includes/contact-form.php(763): WPCF7_Submission::get_instance()
   >     #9 /var/www/wp-content/plugins/contact-form-7/includes/rest-api.php(321): WPCF7_ContactForm->submit()
   >     #10 /var/www/wp-includes/rest-api/class-wp-rest-server.php(1140): wpcf7_rest_create_feedback()
   >     #11 /var/www/wp-includes/rest-api/class-wp-rest-server.php(987): WP_REST_Server->respond_to_request()
   >     #12 /var/www/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
   >     #13 /var/www/wp-includes/rest-api.php(370): WP_REST_Server->serve_request()
   >     #14 /var/www/wp-includes/class-wp-hook.php(303): rest_api_loaded()
   >     #15 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
   >     #16 /var/www/wp-includes/plugin.php(518): WP_Hook->do_action()
   >     #17 /var/www/wp-includes/class-wp.php(388): do_action_ref_array()
   >     #18 /var/www/wp-includes/class-wp.php(750): WP->parse_request()
   >     #19 /var/www/wp-includes/functions.php(1291): WP->main()
   >     #20 /var/www/wp-blog-header.php(16): wp()
   >     #21 /var/www/index.php(17): require('...')
   >     #22 {main}
   >       thrown in /var/www/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php on line 848, referer: https://www-clone.imtf.com/downloads/
   >     ```
   > 
 * Changing the
 * >  /var/www/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.
   > php
 * at line 848, to
 * >  /* $value = is_array($value) ? implode($value, ‘, ‘) : $value; */
   >  $value 
   > = is_array($value) ? implode(‘, ‘, $value) : $value;
 * solves the problem.
 * Maybe you can change that in your next version ?
 * Thank you
    Michael Faessler

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years ago](https://wordpress.org/support/topic/cf7dbplugin/#post-14729455)
 * You seem to have posted this into the wrong forum. This is the support forum 
   for the Contact Form 7 plugin.
 * The error is about the [contact-form-7-to-database-extension](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
   plugin that the developer (not me) hasn’t maintained for many years. Stopping
   use of the plugin is strongly advised for safety.
 *  Thread Starter [mfaimtf](https://wordpress.org/support/users/mfaimtf/)
 * (@mfaimtf)
 * [5 years ago](https://wordpress.org/support/topic/cf7dbplugin/#post-14729482)
 * Hello [@takayukister](https://wordpress.org/support/users/takayukister/)
 * Thanks for the reply.
 * Now I can see too that it is part of [ contact-form-7-to-database-extension](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * We will try to replace it.

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

The topic ‘CF7DBPlugin’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [mfaimtf](https://wordpress.org/support/users/mfaimtf/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/cf7dbplugin/#post-14729482)
 * Status: resolved