Skip Navigation

Validated Fields in Forms are breaking form submit with fatal error

Resolved

Resolved in: Types 3.2.1

Topic Tags: Toolset Forms

Symptoms

When you submit forms with any type of validated Fields in the Form (such as an URL, or a Number or Image Field, which run a validation for the content submitted), the form submission will fail with a Fatal error as below:
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in .../cred-frontend-editor/vendor/toolset/toolset-common/utility/condition/post_type/editor/is_block.php on line 67

Workaround

There is no solution just yet, unless to not use such fields.

Comments are closed