Skip Navigation

[Resolved] Conflict with Woocommerce Brands plugin

This support ticket is created 2 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)

This topic contains 18 replies, has 2 voices.

Last updated by wilfredC 2 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#2417363
step 2.JPG
step1.JPG

The Toolset type is in conflict with the Woocommerce Brands plugin
https://woocommerce.com/document/woocommerce-brands/

When the Toolset plugin is activated, we are unable to edit the brand info in the dashboard.

#2417445

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Based on the debug information you shared with us I found that you are using outdated WordPress version. Could you please update WordPress to latest version.

Do you see any error with your error log?
- https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#general-toolset-debugging

As I understand, when Toolset Types plugin is active and later you add woocommerce brand plugin and activate it when you try to visit the brand listing page, the brand listing page shows blank - right?

#2417541

Yes, i unable to visit the brand listing page.

I update the wp version but the issue remain, I tried to enable wp_debug but no error show

#2418119

Minesh
Supporter

Languages: English (English )

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

I do not have WooCommerce Brands plugin copy. Could you please share the WooCommerce Brands plugin zip or you can share admin access details and I will download it.

I have set the next reply to private which means only you and I have access to it.

#2419751

Minesh
Supporter

Languages: English (English )

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

I just tried to upload the WooCommerce Brands plugin you shared and installed and activated on my test site but I can see the brand listing page is working as expected:
=> hidden link

You can login to my test site using the following link:
=> hidden link

Am I missing anything here?

Or what if you check the debug log and share what error you see with your debug log?

More info:
- https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

#2420391

I implement the log and receive this error:

[19-Jul-2022 02:48:05 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in [xxxxxxxxxxxx]/wp-content/plugins/types/application/controllers/utils/utils.php:193
Stack trace:
#0 [xxxxxxxxxxxx]/wp-content/plugins/types/vendor/toolset/types/embedded/classes/gui/term_field_editing.php(414): Types_Utils::insert_at_position()
#1 [xxxxxxxxxxxx]/wp-includes/class-wp-hook.php(307): WPCF_GUI_Term_Field_Editing->manage_term_listing_columns()
#2 [xxxxxxxxxxxx]/wp-includes/plugin.php(191): WP_Hook->apply_filters()
#3 [xxxxxxxxxxxx]/wp-admin/includes/screen.php(37): apply_filters()
#4 [xxxxxxxxxxxx]/wp-admin/includes/class-wp-screen.php(996): get_column_headers()
#5 [xxxxxxxxxxxx]/wp-admin/includes/class-wp-screen.php(957): WP_Screen->show_screen_options()
#6 [xxxxxxxxxxxx]/wp-admin/admin-header.php(281): WP_Screen->render_screen_meta()
#7 [xxxxxxxxxxxx]/wp-admin/term.php(73): require_once('...')
#8 {main}
thrown in [xxxxxxxxxxxx]/wp-content/plugins/types/application/controllers/utils/utils.php on line 193
[19-Jul-2022 02:48:12 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in [xxxxxxxxxxxx]/wp-content/plugins/types/application/controllers/utils/utils.php:193

#2420435

Minesh
Supporter

Languages: English (English )

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

Can you please share duplicator package of your site and let me see whats casing the issue.
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#2420557

Minesh
Supporter

Languages: English (English )

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

Unfortunately - the shared admin access details is not working at this end. Could you please share working admin access details.

In addition to that, would you mind to run basic debug step:
*** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as with the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference?

#2420779

Hi, please try again, the password is reset

#2421599

Minesh
Supporter

Languages: English (English )

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

Can I install duplicator plugin and download the copy of your site?

#2421601

You can just troubleshoot on the site, if you insist then you may download the copy of my staging site.

#2422383

Minesh
Supporter

Languages: English (English )

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

I'm not sure but I checked the brand listing page on admin and I can see its loading the brands as expected:
=> hidden link

The Toolset Types plugin is also active. Am I missing something here?

#2422861

you need to click the edit on the product brand

#2426153

Minesh
Supporter

Languages: English (English )

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

I see the when we activate the WooCommerce Brands plugin it adds another taxonomy as Brands name as submenu with slug "product_brand" and if I try to edit the taxonomy term with "brand" slug it shows the correct results:
=> hidden link

If you check with the sandbox site, you can auto-login using the following link:
=> hidden link

Here is the brand listing page for both Brands:
=> hidden link
=> hidden link

As you can see with my test site there are two taxonomy added with "Brand" name and one taxonomy slug is "brand" and another taxonomy slug "product_brand" that is added by "Woocommerce Brands" plugin.

It seems there is a conflict with the Brands taxonomy slug that is why when you edit with brand taxonomy slug the edit taxonomy page works as expected.

#2426945

ok noted, can you guide me on how did you fix this issue?

THank