Hi !
After a lot of work we was finally able to create this View:
hidden link
But we have a Fatal Error when we search for a combination that should output an empty set.
(see the screenshot)
It is actually created inside the file that handles the wordpress archives
This is the code:
Fatal error: Uncaught exception 'InvalidArgumentException' in /var/www/NIRVANA/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php:28 Stack trace: #0 /var/www/NIRVANA/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition_factory.php(83): Toolset_Relationship_Query_Condition_Type->__construct('', Object(Toolset_Relationship_Role_Child)) #1 /var/www/NIRVANA/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/m2m/relationship/query/relationship_query_v2.php(380): Toolset_Relationship_Query_Condition_Factory->has_type('', Object(Toolset_Relationship_Role_Child)) #2 /var/www/NIRVANA/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/public_api/m2m.php(492): Toolset_Relationship_Query_V2->has_domain_and_type('', 'posts', Object(Toolset_Relationship_Role_Child)) #3 /var/www/NIRVANA/wp-content/plugins/types/vendor/toolset/types/embedded/includes/post-relationship.php(194): toolset_get_related_post_types('parent', '') in /var/www/NIRVANA/wp-content/plugins/wp-views/vendor/toolset/toolset-common/inc/m2m/relationship/query/condition/type.php on line 28
Before opening this ticket, we already tryed to upgrade to current BETA of Views and Types.
THANKS !
Hi, we have also released a beta version of Layouts, so please install that beta as well. Layouts 2.3-b1 is designed to be used with the Types and Views betas. If the problem remains, please try the following troubleshooting steps:
- Temporarily activate a default theme like Twenty Seventeen, then deactivate everything except Types, Views and Layouts. If you need to activate a plugin like Maintenance Mode during testing, that's fine.
- Reload the page where the fatal error was seen before. If the problem was resolved, reactivate your theme and other plugins one by one until the conflict is revealed.
- If the problem was not resolved, please take screenshots showing the entire View editor screen in wp-admin, and copy + paste any code in the Filter editor, Loop Output editor, and any Content Templates associated with this View. Include those with your next reply for me to review.
We was using only Types and Views.
We was not using Layouts at all (it has always been deactivated during the developement of the website),
is this the cause of the problem ?
Oh okay, your site debug information included the Layouts plugin so I assumed it was active. If not, then there is no need to install the Layouts 2.3-b1 beta. You can disregard that step.