Skip Navigation

[Resuelto] Fatal error adding new field to an existing group of fields

This support ticket is created hace 6 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por enma hace 6 años, 1 mes.

Asistido por: Nigel.

Autor
Mensajes
#1120524

I am trying to: Add new field to an existing group of fields

When i add a new field to an existing group of fields, a fatar error is throwed

wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php

#1120775

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

I need more details about the field that you are adding, what's in the field group you are adding to, and to what is it assigned, as well as details of the error itself.

Do you have details of the error from your logs?

The error occurs when you try to add the field, or when you try to save the field group after adding a field?

It might be easiest if I looked at your site to see details of the field group, so let me set up a private reply for you, but please share the errors from your logs if possible, and also, what kind of field are you trying to add to which group?

#1125485

Hi, sorry for the delay, the problem appears when adding a field, no matters which type it has. I paste all the errors the log show when adding a Simple line field:

- mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'InvalidArgumentException' in /var/www/clients/client3/web283/web/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php:28

- mod_fcgid: stderr: Stack trace

- mod_fcgid: stderr: #0 /var/www/clients/client3/web283/web/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition_factory.php(90): Toolset_Relationship_Query_Condition_Type->__construct('', Object(Toolset_Relationship_Role_Parent))

- mod_fcgid: stderr: #1 /var/www/clients/client3/web283/web/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/relationship_query_v2.php(355): Toolset_Relationship_Query_Condition_Factory->has_type('', Object(Toolset_Relationship_Role_Parent))

- mod_fcgid: stderr: #2 /var/www/clients/client3/web283/web/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/relationship_query_v2.php(350): Toolset_Relationship_Query_V2->has_type('', Object(Toolset_Relationship_Role_Parent))

- mod_fcgid: stderr: #3 /var/www/clients/client3/web283/web/wp-content/plugins/types/application/mode in /var/www/clients/client3/web283/web/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php on line 28

Hope it helps,

Regards.

#1125888

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi there

We had other reports of the same, and released a hotfix for the issue a few days ago earlier this week.

Please update to Types 3.1.2 and test again. It should fix the problem, but if not, please let me know.

#1128086

My issue is resolved now. Thank you!