Skip Navigation

[Closed] User login will generate WooCommerce field groups

This support ticket is created 2 years, 10 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by Luo Yang 2 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2334911
Screen Shot 2022-04-06 at 12.01.05 PM.png
Screen Shot 2022-04-06 at 11.59.44 AM.png
Screen Shot 2022-04-06 at 11.41.17 AM.png

I am trying to: Whenever a user login (I believe admin user will not trigger?), a Toolset WooCommerce field group will be generated. As a result, the product edit page will freeze every time.

Link to a page where the issue can be seen: hidden link

I expected to see: No WooCommerce field group should be generated.

Instead, I got: new WooCommerce field groups everytime someone logs in

#2335007

Hello,

I had seen similar issues which are conflicts with other plugins, for example:
https://toolset.com/forums/topic/multiple-toolset-woocommerce-custom-fields-were-auto-created-and-cant-edit/
https://toolset.com/forums/topic/toolset-woocommerce-starts-multiplying-custom-fields-in-back-end/

Currently, you can try below workaround:
1) Backup your website database first

2) Add the following code at Toolset > Settings > Code Snippets. Don't activate it, but instead use the Run Now option to run the code once, and then keep doing that as many times as are needed to remove the duplicates.

$wcfgs = get_posts( array(
    'post_type' => 'wp-types-group',
    'title' => 'Toolset WooCommerce',
    'numberposts' => 25
));
 
foreach ($wcfgs as $key => $wcfg) {
    wp_delete_post( $wcfg->ID, true );
}

More help:
https://toolset.com/documentation/programmer-reference/adding-custom-code/using-toolset-to-add-custom-code/

#2335473

Hi,

I've seen these related articles before. I decided to manually delete those field groups, but it's still generating. I need a permanent solution. Can you help?

#2335659

In order to debug the conflict issues, please provide a copy of your website in below private message box, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2336583

I have tried the ZIP file you provided, it is a backup of WP site file, there isn't database dump file, please follow below document to export your website database dump file, and provide the link:
hidden link

#2338713

Thanks for the details, I can find the SQL file, but I need to migrate the data into my localhost, will update here if find anything

#2339451

I can import the SQL file, please provide more details:
1) Which user is WordPress admin user
2) After user login into your website, triggers the problem you mentioned above
Thanks

#2339491

1) Which user is WordPress admin user
yuli
2) After user login into your website, triggers the problem you mentioned above
Any users but admin users or you can refer to the screenshots.

#2340273

Thanks for the details, I have tried these in my localhost with your duplicator package:
1) Login as admin user "yuli"
2) Deactivate all other plugins/switch to WordPress default theme 2022,
3) Switch another normal user, and logout
4) Login as admin user "yuli", check the custom field setting page, I don't see any new custom "Toolset WooCommerce field group",
Since it is a compatibility issue, do you have any clue for this:
Which plugin conduct the problem?

The topic ‘[Closed] User login will generate WooCommerce field groups’ is closed to new replies.