Support » Plugin: Contact Form 7 » CF7 hangs on submit after upgrade to php 8

  • Resolved Nancy

    (@dotdabbledorg)


    NOTE: I’ve reverted back to Php 7.4 so current forms on opsga.com are working fine right now, but we need to figure out the fix so we can upgrade to php8.

    Details:
    After updating to php 8.0, all forms on site hang up on submit. The spinning circle just spins forever. Forms ARE being submitted, as we use the Contact Form DB plugin, which writes submissions to the database. But emails not sent and user never sees a success (or failure) message.

    We downgraded back to 7.4 and everything works, so it seems to definitely be php compatibility issue.

    We are on the latest version of cf7 (Version 5.5.6) and WP (WordPress 5.9.1)
    We are also using the Contact Form 7 – Dynamic Text Extension plugin addon to CF7.

    Any assistance you can provide would be great!

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Same issue for my domain. Hosting is asking us to use a different form vs CF7 with DB.

    Hi all, sorry to jump on an existing thread, but I’m having the same issue. Same problem across multiple sites, different plugins and configurations, across different servers.

    Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    domaiin/wp-json/contact-form-7/v1/contact-forms/80/feedback

    Same problem here. We are using the forms-3rdparty-integration plugin to send JSON submissions to our CRM.

    Reverting back to PHP 7.4 resolves the “endless spinning on the front-end, yet info transmitted” issue. The plugin has no PHP 8.0 depreciated code.

    Thank you,

    same issue, the endless spinning with the php 8.0, it cost lot of ads money for the company because of this issue

    Same issue here. Upgraded to php 8.0, Contact Form 7 submit button just keeps turning and hanging. It doesn’t work. I reverted back to php 7.4 and now it’s fine.
    How do I fix this? At the end of December 2022 all sites will be automatically upgraded to php 8.0. Please help!

    Hi
    I get a critical error on the page when I upgrade to php8.
    I have CT7, Conditional Fields and Drag and Drop Multiple installed.
    Anyone who has experienced something similar and has suggestions for a solution.

    Best regards
    Ludvig

    Hi,
    why is this topic “resolved”?
    I have still the same issue.
    Thanks
    Klaus

    Alex

    (@molecularcode)

    I’m experiencing exactly the same issue with upgrading to PHP 8.* Interestingly though, I have two different CF7 forms on my site.

    One is very simple with 4 fields, and does submit and display the validation message.

    The other is more complex with many fields and hangs after clicking the submit button.

    I have the CF7 DB plugin installed, and even when the form submission hangs, the form entry is still recorded in the DB.

    “still recorded in the DB” sounds like you also use CFDB plugin (Michael Simson).

    I found out that short contact forms are working but long form do not and only the first fields of long forms are stored in the DB.

    CFDB – abandoned six years ago – seems to be the problem. I deactivated it and the form works fine again.

    Sad story…

    Just found a comment in here https://wordpress.org/support/topic/form-is-not-working-using-php-8-0/
    It is assign to another plugin but refers to this thread’s issue.

    It worked on my site after checking the characters (use correct ‘ ) and deactivation WP Debug mode.

    Klaus

    • This reply was modified 1 year, 4 months ago by klaus_hh.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘CF7 hangs on submit after upgrade to php 8’ is closed to new replies.