<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Fail to submit with php v8.2

[ad_1]

Replies: 4

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 ->

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..

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer