Title: Error with dropdown fields on php8
Last modified: August 6, 2021

---

# Error with dropdown fields on php8

 *  Resolved [socialco](https://wordpress.org/support/users/socialco/)
 * (@socialco)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-with-dropdown-fields-on-php8/)
 * Hi, we found a bug on the plugin on php8 that prevented forms from being sent.
   Only on forms with dropdowns and other array-type files.
 * We would get a 500 error (visible only on the inspector)
 * We figured it was an error on line 848 of file /wp-content/plugins/contact-form-
   7-to-database-extension/CF7DBPlugin.php
 * It is now:
    `$value = is_array($value) ? implode($value, ', ') : $value ;`
 * And it should be:
    `$value = is_array($value) ? implode(', ',$value) : $value;`
 * Would be great if you could fix it for future updates. Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-with-dropdown-fields-on-php8/#post-14741571)
 * You are using different plugin. Please try this cfdb7 plugin.

Viewing 1 replies (of 1 total)

The topic ‘Error with dropdown fields on php8’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/error-with-dropdown-fields-on-php8/#post-14741571)
 * Status: resolved