CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

Form saving still broken #3613

Open andre0572 opened 4 years ago

andre0572 commented 4 years ago

Do You Need Immediate Help?

No, existing forms work well.

Is This A Feature Request?

No.

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 5.5 PHP Version: 7.4.5 MySQL Version: 5.7.28 Caldera Forms Version: 1.9.2 WP_DEBUG:

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

Yes.

What Is The Unexpected Behaviour?

The 'Save Form' button is not working. This issue has been reported under #3570 already, but this item has been (allegedly) fixed and closed. The problem still exists, though.

What PHP Errors Have You Logged While Reproducing This Bug?

n/a

What JavaScript Errors Have You Seen While Reproducing This Bug?

index.min.js?ver=1.9.2:1 {code: "invalid_json", message: "The response is not a valid JSON response."}

tosunkaya commented 4 years ago

Same for me on wp 5.5 {code: "rest_invalid_param", message: "Geçersiz parametre(ler): cf_edit_nonce", data: {…}} index.min.js?ver=1.9.2

shaneonabike commented 4 years ago

I also seem to be having this issue but am uncertain as to whether it's a permission issue or something else.

unapersona commented 3 years ago

Hello, I've just encountered the same problem, for me the issue was in the type casting of the cf_edit_nonce variable: The route expect a string and the variable was a number.

I made it work by modifying caldera-forms/classes/api/forms.php to allow string and integer types: image

andre0572 commented 3 years ago

Still broken.