Skip Navigation

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

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 7 años, 1 mes. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Tim Elliott hace 7 años, 1 mes.

Asistido por: Noman.

Autor
Mensajes
#578118

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

Link to a page where the issue can be seen: enlace oculto

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

Idiomas: Inglés (English )

Zona horaria: 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.