Skip Navigation

[Resolved] Getting multiple Warning: Illegal string offset after adding a repeating field

This thread is resolved. Here is a description of the problem and solution.

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 7 years, 1 month ago. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 2 replies, has 2 voices.

Last updated by Tim Elliott 7 years, 1 month ago.

Assisted by: Noman.

Author
Posts
#578118

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

Link to a page where the issue can be seen: hidden 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

Languages: English (English )

Timezone: 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.