Skip Navigation

[Waiting for user confirmation] Toolset Blocks and EditorsKit compatiability

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.

Our next available supporter will start replying to tickets in about 6.07 hours from now. Thank you for your understanding.

This topic contains 8 replies, has 4 voices.

Last updated by Christian Cox 5 days, 13 hours ago.

Assigned support staff: Christian Cox.

Author
Posts
#1798161

Hello,

I have a simple (test) site using both "Toolset Blocks" and "Gutenberg Block Editor Toolkit – EditorsKit" plugins. When I go to Settings / EditorsKit, I get the following error:

Fatal error: Uncaught InvalidArgumentException in /home/ingersol/public_html/gp/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/Condition/type.php:28 Stack trace: #0 /home/ingersol/public_html/gp/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/condition_factory.php(88): Toolset_Relationship_Query_Condition_Type->__construct(false, Object(Toolset_Relationship_Role_Parent)) #1 /home/ingersol/public_html/gp/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/relationship_query_v2.php(417): Toolset_Relationship_Query_Condition_Factory->has_type(false, Object(Toolset_Relationship_Role_Parent)) #2 /home/ingersol/public_html/gp/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/relationship_query_v2.php(403): Toolset_Relationship_Query_V2->has_domain_and_type(false, 'posts', Object(Toolset_Relationship_Role_Parent)) in /home/ingersol/public_html/gp/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/Condition/type.php on line 28
There has been a critical error on your website. Please check your site admin email inbox for instructions.

---
I tried the two plugins a different site (blocks.ingersollinteractive.com) and got the following error emailed to me:

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.5.1
Current theme: Kadence (version 0.8.14)
Current plugin: Toolset Blocks (version 1.3.1)
PHP version 7.2.29

Error Details
=============
An error of type E_ERROR was caused in line 28 of the file /home/ingersol/public_html/blocks/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/Condition/type.php. Error message: Uncaught InvalidArgumentException in /home/ingersol/public_html/blocks/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/Condition/type.php:28
Stack trace:
#0 /home/ingersol/public_html/blocks/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/condition_factory.php(88): Toolset_Relationship_Query_Condition_Type->__construct(false, Object(Toolset_Relationship_Role_Parent))
#1 /home/ingersol/public_html/blocks/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/relationship_query_v2.php(417): Toolset_Relationship_Query_Condition_Factory->has_type(false, Object(Toolset_Relationship_Role_Parent))
#2 /home/ingersol/public_html/blocks/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/m2m/DatabaseLayer/RelationshipQuery/relationship_query_v2.php(403): Toolset_Relationship_Query_V2->has_domain_and_type(false, 'posts', Object(Toolset_Relationsh

#1799517

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Hi, I can actually see the same error in my local site when I go to Settings > Editorskit with this plugin active in an older site, but not in a site created from scratch. Is it possible for me to create a clone of your site using the Duplicator plugin so I can escalate the issue to my 2nd tier support team? If so, please provide login credentials in the private reply fields here.

#1800673

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

I'll use your clone and run some tests locally. Thanks, I'll give you an update shortly.

#1800689

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Okay thanks, the issue seems to be related to Toolset Blocks. If I deactivate Blocks and leave Types active, the error disappears. Now that I understand this, I can replicate the problem on a clean site installation. That indicates a compatibility issue with Blocks and EditorsKit. Let me escalate this to my 2nd tier support team for additional investigation. I'll keep you posted here as I receive more information. For now, the only workaround I know of is to temporarily deactivate Toolset blocks if you need to access the EditorsKit settings page. You may delete the Duplicator package from your live site if you wish.

#1800695

Thank you.

I think this would be a valuable fix for Toolset. The challenge these days is to hone down the number of tools in place. As I am moving away from page builders to the block editor, Toolset's focus on blocks is welcome. The EditorsKit is a strong plugin to make blocks that much more useful.

I look forward to the fix when it's ready. In the meantime, as you suggest.

#1815295

Hi Toolset Support,

it is not only this WP-PlugIn EditorsKit that causes this PHP error, but also this WP-PlugIn "Block Manager".
https://wordpress.org/plugins/block-manager/

With both WP-PlugIns this error did not occur in the previous version of WP Toolset Blocks. My guess regarding to the root cause of this PHP-Error: Whenever a WP-PlugIn wants to create an inventory of all available gutenberg blocks, the new WP Toolset Blocks version causes this PHP-Error. It is therefore a systematic problem on the side of the WP Toolset Blocks PlugIn, which has absolutely nothing to do with the otherwise additionally used WP PlugIns.

Please fix this problem as fast as possible, because it's production relevant for me!

Thanks very much for your investigation & support!

#1815783

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I've added the report about the Block Manager plugin to the same internal ticket. We are in the testing phase of a fix for the EditorsKit issue, so we can test that same solution with this other plugin, too.

#1842115

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Our developers have informed me that the fix for this issue will be included in the upcoming Blocks 1.4 / Views 3.4 releases. I'll keep you up-to-date on the release schedule as I receive more information here.

#1861521

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Hi, it turns out this issue has been addressed in the Blocks 1.3.3 / Views 3.3.3 release that is currently being pushed out to the public. If you have not yet been prompted to update on your site, you may go to Plugins > Add New > Commercial tab, click "Check for updates" in the Toolset Installer panel, and update to the latest versions of all Toolset plugins.

Please update and let me know if the issue is not completely resolved.