Skip Navigation

[Resolved] Plugin conflict: Toolset Access + Forminator Pro

This support ticket is created 4 years, 7 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 4 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1665707

Running the Forminator plugin (hidden link) seems to conflict with Toolset Access. This happened today, and has been working for over a year before -- I'm assuming either a Toolset, Access, or Forminator auto-update. Disabling either Access or Forminator fixes the problem.

This is a staging duplicate site of the production site where this issue occurred.

PHP error message:
Fatal error: Uncaught Error: Class 'Toolset_Post_Type_Exclude_List' not found in /var/www/html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:209 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(287): OTGS\Toolset\Access\Controllers\PermissionsPostTypes->registered_post_type_hook('forminator_form...', Object(WP_Post_Type)) #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/html/wp-includes/post.php(1449): do_action('registered_post...', 'forminator_form...', Object(WP_Post_Type)) #4 /var/www/html/wp-content/plugins/forminator/library/modules/custom-forms/loader.php(123): register_post_type('forminator_form...', Array) #5 /var/www/html/wp-content/plugins/forminator/library/abstracts/abstract-class-module.php(51): Forminator_Custom_Form->register_cpt() #6 /var/www/html/wp-content/plugins/forminator/library/class-modules.php(87): Forminator_Module->__construct( in /var/www/html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 209

#1665805

More info:

Commenting out lines 208-211 in types-access/application/controllers/permissions_post_types.php fixes the error. It seems the 'Toolset_Post_Type_Exclude_List' class is for some reason not available to the Forminator plugin.

Here is the commented-out code:

// if ( empty( $this->excluded_post_types ) ) {
// 	$post_type_exclude_list_object = new \Toolset_Post_Type_Exclude_List();
//	$this->excluded_post_types = $post_type_exclude_list_object->get();
// }
#1665995

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This is known issue to us and reported to our next level support.

Please hold on for further updates. I will get in touch with you as soon as I know more.

#1666143

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Our Devs shared the errata with the hotfix that will help you to fix the issue:
=> https://toolset.com/errata/fatal-error-with-access-2-8-6-update-conflicting-with-some-other-plugins/

Can you please follow the instructions given with the above link and try to resolve your issue.

#1667075

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Toolset Access version 2.8.7 has been released that contain the hotfix for the issue.

Please update ALL Toolset plugins to latest version or you can download it from your account's download page:
=> https://toolset.com/account/downloads/