I am trying to:
Use the date selector field and it doesn't always save the date selected to database.
Link to a page where the issue can be seen:
It is resolved by reverting plugin to free version so you can see it on the live site
I expected to see:
Date saved to database
Instead, I got:
When we choose a date and click save, the value is not saved to the database. When i go to edit custom field and click delete date field we get this error:
Fatal error: Uncaught exception 'InvalidArgumentException' in /home/exploration/public_html/dev/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php:28 Stack trace: #0 /home/exploration/public_html/dev/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 /home/exploration/public_html/dev/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 /home/exploration/public_html/dev/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 /home/exploration/public_html/dev/wp-content/plugins/types/application/models/post_ty in /home/exploration/public_html/dev/wp-content/plugins/types/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php on line 28
When we revert back to the free version it works perfectly.
Can I get more info about where this occurs to see if I can reproduce the problem.
On the backend post edit screen I can update and clear date fields without any problems on a local test site.
Does this issue occur on the front end or the back end?
If on a front-end form this is with forms to publish and to edit posts, or it is a relationship form?
If I can't reproduce the problem based upon your description, I may need to get a copy of your site, but I'll wait to get further details from you first.
Please include your site debug info in your reply (hidden link).