I have a few custom field groups created, however recently it appears that many uneditable, duplicate field groups have appeared under a name I don't recognize. I've tried deactivating all Toolset-related plugins excepts types and this doesn't work. Each of these entries has the attribute "types_field_group_purpose" set to "system" in the database. All of these field groups show on WooCommerce product pages as well, making editing a hassle. All plugins are up to date.
These field groups were actually created by our Woocommerce Blocks plugin, however it should've only created 1 field group.
It would appear that an issue may have occurred when the plugin was installed/activated.
Can you deactivate and reactivate the Woocommerce Blocks plugin and let me know if the issue still remains.
If it does would you mind providing me with a copy of the site so that I can test further. Please follow the instructions in the link below to provide me with the copy. https://toolset.com/faq/provide-supporters-copy-site/
I deactivated/reactivated Toolset WooCommerce Blocks and the custom fields remained afterwards and even while the plugin was deactivated. Another note, I had to deactivate the plugin via FTP, it wouldn't work from the WP backend.
Also, I can provide you access to a staging environment where this is occurring, where can I post these credentials that they won't be publicly visible?
What you can do is to use this SQL query below to remove the duplicate field groups. The query contains the ID of all the field groups that are in excess.
DELETE FROM `wp_posts` WHERE `wp_posts`.`ID` IN (17120,17121,17122,17123,17124,17125,17126,17128,17108,17129,17131,17132,17133,17134,17109,17110,17111,17115,17116,17118,17119,17117,17127);
I just noticed that the issue has reoccurred, this time on our live site. There are around 200 of these empty "Toolset WooCommerce" field groups now. I'm not sure what caused this, as the client has been using the site since our launch.
What information do you need to continue troubleshooting this?
We need to understand what is the condition that causes this to occur. If you were to create a new product then check the field group again does a new field appear?
I did a quick test on your test site that you had provided the credentials for and the Field group doesn't appear after I created a new product.
If you can observe any pattern please let me know. Secondly I noticed that the fields in the field group are woocommerce standard fields so currently i'm unsure of how to replicate the issue.