• Resolved Sumit Singh

    (@sumitsingh)


    Hi!

    I am not able to submit form and getting error using php > 8.0:

    PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /public_html/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:848
    Stack trace:
    #0 /public_html/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php(848): implode()
    #1 /public_html/wp-content/plugins/contact-form-7-to-database-extension/CFDBIntegrationContactForm7.php(55): CF7DBPlugin->saveFormData()`

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Sumit Singh

    (@sumitsingh)

    Hey,

    i have find solution.

    we need to replce code on below path
    /public_html/wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php:848
    Old One => $value = is_array($value) ? implode($value, ‘, ‘) : $value;
    Updated one => $value = is_array($value) ? implode(‘, ‘, $value) : $value;

    Plugin Author Arshid

    (@arshidkv12)

    You are using different plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form is not working using PHP > 8.0’ is closed to new replies.