Skip Navigation

Repeating User fields throw an error and cannot be used on Toolset User Forms

Resolved

Reported for: Toolset Forms 2.5

Resolved in: 2.5.1

Symptoms

Toolset Types allows adding repeating User Fields of different types to WordPress User Profiles.

You can then add several instances of the same field on the Users’ profile edit screens.

Toolset Forms allows editing the user on the front-end, however, if a User Edit form includes such repeating fields, you may encounter several issues:

  • The Form will not display fields that are already saved for the user. Instead, it will display only one empty instance.
  • If you still add new instances and submit such form, it will overwrite the old instances.
  • If such form has Repeating Image fields, it will also produce the following PHP error:
    Warning: md5() expects parameter 1 to be string, array given in /cred-frontend-editor/application/models/field/wptoolset/class.abstract_credfile.php on line 131

Workaround

Currently, there is no proper solution for this issue, except downgrading from Toolset Forms 2.5 to Toolset Forms 2.4. However, this the last approach we suggest.

Our developers are aware of the issue and will provide a solution as soon as possible.

Comments are closed