I am trying to:
Update a custom field group with a new custom field and it causes a Fatal Error. I can create new custom field groups and create custom fields but I'm unable to add a new field after the initial save.
Link to a page where the issue can be seen:
This is on a development server and isn't publicly available.
I expected to see:
I expect the custom field group to save and accept my new field update.
Instead, I got:
This page isn't working
This is what I got via WordPress debug:
Fatal error: Uncaught InvalidArgumentException in /var/www/html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php:28 Stack trace: #0 /var/www/html/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)) #1 /var/www/html/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)) #2 /var/www/html/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)) #3 /var/www/html/wp-content/plugins/types/application/models/post_type/relationships_settings/relationship_settings.php(240): Toolset_Relationship_Query_V2->has_type('') #4 /var/ww in /var/www/html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php on line 28
Do your tests using 'Metadata for Search Engines' custom field group as it's the one that gives me the issue every time, but I have been able to recreate the issue with all field groups.