Skip Navigation

[Gelöst] Getting multiple Warning: Illegal string offset after adding a repeating field

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
When installed Types 2.3-b1 getting this error:

Warning: Illegal string offset 'id' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/wpviews.php on line 137

Warning: Illegal string offset 'name' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/wpviews.php on line 138

Warning: Illegal string offset 'slug' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php on line 719

Warning: Illegal string offset 'type' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php on line 722

Warning: Illegal string offset 'slug' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php on line 723

Warning: Illegal string offset 'id' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/wpviews.php on line 140

Solution:
This error is already reported to our development team and its under further consideration.

This support ticket is created vor 7 Jahren, 1 Monat. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Tim Elliott vor 7 Jahren, 1 Monat.

Assistiert von: Noman.

Author
Artikel
#578118

I am trying to: Add a repeating field using Types 2.3-b1

Link to a page where the issue can be seen: versteckter Link

I expected to see: No errors

Instead, I got:
Warning: Illegal string offset 'id' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/wpviews.php on line 137

Warning: Illegal string offset 'name' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/wpviews.php on line 138

Warning: Illegal string offset 'slug' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php on line 719

Warning: Illegal string offset 'type' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php on line 722

Warning: Illegal string offset 'slug' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields.php on line 723

Warning: Illegal string offset 'id' in /home/xxx/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/classes/wpviews.php on line 140

Now I know this is a Beta for Types and Views has not been updated to deal with the Types changes so I'm pretty sure you've got this covered already but just thought I'd let you know.

#578175

Noman
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Karachi (GMT+05:00)

Hi Tim,

Thank you for contacting Toolset support. I see this issue is already reported by our development team and its under further consideration.

You may like to try with latest Views 2.5-b4 and check for the errors. But I guess it will still have this issue:
https://toolset.com/download/toolset-views/

Thank you for reporting this, we really appreciate the time you have taken to provide this feedback.

#578178

You're right, 2.5-b4 doesn't solve it. However I've marked the thread as resolved as I know you're working on it. Thanks for your help.