• Resolved mafox2

    (@mafox2)


    HI there, We are having a problem with a contact form inside a of Bootstrap modal (v5.2) being able to submit when updating site to php v8.2 (or 8.0)

    There were no issues when using php v7.4

    on the page we have a button “Get a Quote” which triggers the modal with the CF7 contact form. When using php v8.2

    The live site is using php v7.4 and works -> https://www.viatech.com/en/automotive/mobile360-forklift-safety-system/

    The staging site is using php v8.2 and will not submit -> https://viatechstage.wpengine.com/en/automotive/mobile360-forklift-safety-system/

    Below is the error message generated on the staging site

    Failed to load resource: the server responded with a status of 500 ()
    index.js:1 Responsebody: (...)bodyUsed: falseheaders: Headers?{}ok: falseredirected: falsestatus: 500statusText: ""type: "basic"url: "https://www.viatech.com/wp-json/contact-form-7/v1/contact-forms/36532/feedback"[[Prototype]]: ResponsearrayBuffer: ? arrayBuffer()blob: ? blob()body: (...)bodyUsed: (...)clone: ? clone()formData: ? formData()headers: (...)json: ? json()ok: (...)redirected: (...)status: (...)statusText: (...)text: ? text()type: (...)url: (...)constructor: ? Response()Symbol(Symbol.toStringTag): "Response"get body: ? body()get bodyUsed: ? bodyUsed()get headers: ? headers()get ok: ? ok()get redirected: ? redirected()get status: ? status()get statusText: ? statusText()get type: ? type()get url: ? url()[[Prototype]]: Object
    (anonymous) @ index.js:1

    Any help would be greatly appreciated..

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

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

    (@takayukister)

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

    Thread Starter mafox2

    (@mafox2)

    Here is a list of plugins on the site. I have tried troubleshooting and the issue still persists when disabling all plugins except for CF7.

    I am using a custom Genesis Child theme.

    Not sure what is going on..

    Admin Menu Editor
    Version 1.11.1 by Janis Elsts | Auto-updates disabled
    Admin Slug Column
    Version 1.6.0 by Chuck Reynolds | Auto-updates disabled
    Advanced Flat Rate Shipping For WooCommerce (Premium)
    Version 4.2.0 by theDotstore | Auto-updates disabled
    Asset CleanUp: Page Speed Booster
    Version 1.3.9.3 by Gabe Livan | Auto-updates disabled
    Autoptimize
    Version 3.1.8.1 by Frank Goossens (futtta) | Auto-updates disabled
    Classic Editor +
    Version 4.2.0 by <a >Pieter Bos</a>, <a >Greg Schoppe</a> | Auto-updates disabled
    Conditional Fields for Contact Form 7
    Version 2.3.10 by Jules Colle | Auto-updates disabled
    Contact Form 7
    Version 5.8 by Takayuki Miyoshi | Auto-updates disabled
    Converter for Media
    Version 5.9.5 by matt plugins | Auto-updates disabled
    Genesis Connect for WooCommerce
    Version 1.1.2 by StudioPress | Auto-updates disabled
    Health Check & Troubleshooting
    Version 1.7.0 by The www.remarpro.com community | Auto-updates disabled
    HTML Editor Syntax Highlighter
    Version 2.4.4 by James Bradford | Auto-updates disabled
    Max Quantity For WC Shops
    Version 1.6 by Isabel Castillo | Auto-updates disabled
    Polylang
    Version 3.4.5 by WP SYNTEX | Auto-updates disabled
    PPOM for WooCommerce
    Version 32.0.8 by Themeisle | Auto-updates disabled
    Regenerate Thumbnails
    Version 3.1.5 by Alex Mills (Viper007Bond) | Auto-updates disabled
    Responsive Posts Carousel Pro
    Version 13.4 by WebCodingPlace | Auto-updates disabled
    Search Exclude
    Version 2.0.3 by QuadLayers | Auto-updates disabled
    ShiftNav Pro - Responsive Mobile Menu
    Version 1.7.2 by Chris Mavricos, SevenSpark | Auto-updates disabled
    Tabby Responsive Tabs
    Version 1.4.1 by cubecolour | Auto-updates disabled
    TablePress
    Version 2.1.5 by Tobias B?thge | Auto-updates disabled
    Theme and plugin translation for Polylang (TTfP)
    Version 3.4.0 by Marcin Kazmierski | Auto-updates disabled
    Toolbar Publish Button
    Version 1.8 by wpUXsolutions | Auto-updates disabled
    UberMenu 3 - The Ultimate WordPress Mega Menu
    Version 3.8.1 by Chris Mavricos, SevenSpark | Auto-updates disabled
    WooCommerce
    Version 7.9.0 by Automattic | Auto-updates disabled
    WooCommerce Direct Checkout
    Version 3.2.1 by QuadLayers | Auto-updates disabled
    WooCommerce PayPal Payments
    Version 2.2.0 by WooCommerce | Auto-updates disabled
    WooCommerce Table Rate Shipping
    Version 3.0.3 by WooCommerce | Auto-updates disabled
    WP Engine Smart Plugin Manager
    Version 5.17.16 by WP Engine | Auto-updates disabled
    Yoast Duplicate Post
    Version 4.5 by Enrico Battocchi & Team Yoast | Auto-updates disabled
    Yoast SEO
    Version 20.12 by Team Yoast | Auto-updates disabled
    Yoast SEO Premium
    Version 20.12 by Team Yoast | Auto-updates disabled
    • This reply was modified 1 year, 3 months ago by mafox2.
    • This reply was modified 1 year, 3 months ago by mafox2.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme, deactivating all plugins excluding Contact Form 7 and Health Check & Troubleshooting, and clearing all cache data.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter mafox2

    (@mafox2)

    I’ve switched to Twenty Twenty and deactivated all plugins. I’ve added bootstrap to the theme to test and the form now submits in the bootstrap modal…

    Does this point to my Genesis theme being the root of the problem?

    • This reply was modified 1 year, 3 months ago by mafox2.
    Thread Starter mafox2

    (@mafox2)

    Thanks for your help, was able to identify the root cause and correct it. All is good now. Had to do with a custom function passing submitted forms to Salesforce…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fail to submit with php v8.2’ is closed to new replies.