Navigation überspringen

[Gelöst] "Warning: trim() expects parameter 1 to be string" on post edit form

This support ticket is created vor 5 Jahren, 2 Monaten. There's a good chance that you are reading advice that it now obsolete.

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.

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von julieP vor 5 Jahren, 2 Monaten.

Author
Artikel
#1368831

All plugins up to date. This appears on frontend when viewing post edit form on frontend:-

Warning: trim() expects parameter 1 to be string, array given in /home/tarasheb/public_html/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/classes/class.eforms.php on line 990

There are single select fields (checkbox and radio), the only multiple select field is taxonomy and no generic select fields.

I'm not sure when this first arose but definitely in Forms 2.5.2 and 2.5.1.

Any ideas please?

#1368897

In case of interest: I discovered I had failed to change the slug on a custom field I had created 'from existing custom field' so I had two custom fields with the same slug (I'm surprised the new field saved successfully). Once I had corrected the new field slug, the warning stopped appearing