Skip Navigation

[Closed] Critical Error when CRED Form is submitted

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 1 voice.

Last updated by Minesh 3 weeks, 1 day ago.

Assisted by: Minesh.

Author
Posts
#2823969
Bildschirmfoto 2025-09-08 um 15.23.20.png

We have a form to add "location" entries (form without login, the content will be reviewd before publishing) on a location map website.

The form looks good, Access to the form is given to guests… but on submission, there is a critical error on
/wp-content/plugins/cred-frontend-editor/application/controllers/validators/toolset_forms.php on line 101

How to resolve this? 🤔

#2824057

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I will require problem URL where you added the form as well as admin access details, once I review your current settings I will be able to guide you in the right direction.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2824084

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked and I can see the issue on your site.

I see you are using number of third-party plugins. In order to minimmize the cause of the issue and to ensure there is no conflict with the plugins/theme you use.

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference? Have you tried disabling "Kadence" plugins and switched to default theme? Do you see it working when only Toolset plugins active?

#2824089

Hi Minesh

Thank you for your reply.

I have deactivated all Non-Toolset plugins and switched to standard 2025 theme – the critical error still occurs ☹️

So the cause must lie somewhere else 🤔…

I have also tried with different php versions (8.2, 8.3, 8.4) but the result is always the critical error

#2824235

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really interesting.

In order to minimize the cause of the issue, what if you try to remove couple of fields from your form one after another and save your form and then check on frontend if you able to submit the form or not and able to spot what exactly the field added to form is causing the issue.

#2825202

I have tried a different way and created a new form that creates Locations.

This new form (on a new page) does not display a critical error on Submit.

It just shows a circle going round once and nothing else happens. No display of the confirmation message instead of the form, no saving of the new location post (as "pending review"), no confirmation e-mail as defined. it just happens *nothing*.

i must admit that this is not really better… what's wrong now?

#2825284

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please tell me what exactly you want to achieve?

You want to have a working form to add new locations for "Location" post type. Can you please clarify your exact requirement and once I review that I will try to setup a new form on your site and check what's going wrong with your setup.

I have set the next reply to private which means only you and I have access to it.

#2825323

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked and created a brand new form and brand new test page:
- hidden link
- hidden link

And I found that it throws the following fatal error when I submit the form:

PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given in /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/validators/toolset_forms.php:101 #0 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/validators/toolset_forms.php(101): array_filter() #1 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/validators/form.php(49): CRED_Validator_Toolset_Forms->validate() #2 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/models/form/base.php(974): CRED_Validator_Form->validate() #3 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/models/form/base.php(423): CRED_Form_Base->validate_form() #4 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/form_builder_base.php(42): CRED_Form_Base->print_form() #5 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/ajax/handler/submit_form.php(47): CRED_Form_Builder_Base->get_form() #6 /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/toolset.ajax.class.php(264): CRED_Ajax_Handler_Submit_Form->process_call() #7 /var/www/vhosts/resmove.org/httpdocs/wp-includes/class-wp-hook.php(324): Toolset_Ajax->__call() #8 /var/www/vhosts/resmove.org/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /var/www/vhosts/resmove.org/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /var/www/vhosts/resmove.org/httpdocs/wp-admin/admin-ajax.php(192): do_action() #11 {main} thrown in /var/www/vhosts/resmove.org/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/validators/toolset_forms.php on line 101

As yours is the production site, In order to troubleshoot this issue further I need a duplicator copy of your site or ALL in One WP Migration package file.

Can you please send me dupllicator copy of your site:
- https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

The topic ‘[Closed] Critical Error when CRED Form is submitted’ is closed to new replies.