Skip Navigation

PHP error when using Generic MultiSelect Form Fields

Resolved

Reported for: Toolset Forms 2.2

Resolved in: 2.3

Topic Tags: Toolset Forms

Symptoms

When you use generic Multiselect fields in a Toolset Form and view the Form on the front-end, you will get the following PHP warning:
Warning: trim() expects parameter 1 to be string, array given in .../cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/classes/class.eforms.php on line 1085

Workaround

This issue will be fixed in the next release of the Toolset Forms plugin.

This patch can be used right now to solve it. Just unzip the package and upload the file it contains, replacing the one with the same name, in the /vendor/toolset/toolset-common/toolset-forms/classes/ for all Types, Views, Forms, Layouts and Access, or the ones that you are using in your site.

Comments are closed