Title: CF7DBPlugin.php:848 error
Last modified: June 14, 2023

---

# CF7DBPlugin.php:848 error

 *  [sundios](https://wordpress.org/support/users/sundio/)
 * (@sundio)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cf7dbplugin-php848-error/)
 * When I submit a CF7 form It goes to a error window. When checking my logs I see
   the following issue:
 * [14-Jun-2023 17:55:47 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument#
   2 ($array) must be of type ?array, string given in /home/tuvescl/qa.tuves.cl/
   wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:848
   Stack
   trace:
 * Im not quite sure why this is happening. I have a site with the same config and
   it works perfectly. But this site is having this issue any help would be amazing.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcf7dbplugin-php848-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/cf7dbplugin-php848-error/#post-16822754)
 * I think the issues is that your version of the plugin is outdated and this line
   is not compatible with more recent versions of PHP. Check that you have version
   2.10.37. If not download from GitHub: [https://github.com/mdsimpson/contact-form-7-to-database-extension/releases](https://github.com/mdsimpson/contact-form-7-to-database-extension/releases)
 *  [Vanoisbe](https://wordpress.org/support/users/lepapefrancois/)
 * (@lepapefrancois)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/cf7dbplugin-php848-error/#post-17047743)
 * Hi Michael,
 * Same here, it’s related to the file field, everytime I try to send a form with
   a file uploaded:
 *     ```wp-block-code
       PHP Fatal error:  Uncaught TypeError: file_get_contents(): Argument #1 ($filename) must be of type string, array given in ../wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:858
       ```
   
 * Console report an error 500
 *     ```wp-block-code
       https://[mywebsite]/wp-json/contact-form-7/v1/contact-forms/3749/feedback 500
       ```
   
 * Disabling Contact Form DB resolve the situation. 
   My setup:
 * Apache Server, PHP 8.0
   WordPress 6.3.1 (latest)Contact Form DB : 2.10.37 (latest)
 * Thanks for your precious help

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

The topic ‘CF7DBPlugin.php:848 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Vanoisbe](https://wordpress.org/support/users/lepapefrancois/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/cf7dbplugin-php848-error/#post-17047743)
 * Status: not resolved