Home › Toolset Professional Support › [Resolved] Conflict with Woocommerce Brands plugin
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.
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.
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?
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
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.
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/
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
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.
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?
Hi, please try again, the password is reset
Can I install duplicator plugin and download the copy of your site?
You can just troubleshoot on the site, if you insist then you may download the copy of my staging site.
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?
you need to click the edit on the product brand
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.
ok noted, can you guide me on how did you fix this issue?
THank