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)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘CF7DBPlugin’ is closed to new replies.