teamecommerce
Forum Replies Created
-
Hi Vidish,
thank you for your quick reply and your willingness to assist.I can confirm that I am using the latest version of the plugin. Cron jobs are working fine on my server, and since my site is hosted on Kinsta (which uses Nginx), there is no
.htaccessprotection involved.I checked the error logs and found the following when trying to delete the plugin:
WordPress database error Cannot delete or update a parent row: a foreign key constraint fails for query DROP TABLE IF EXISTS wp_wpcd_discounts made by uninstall.phpIt looks like the uninstall script is blocked because of a foreign key constraint related to the old table
wp_wpcd_discountsfrom Woo Category Discount. I believe this might also be why the new version is not applying discounts — the plugin seems to still load or merge old discount data, which no longer works correctly. Even when I create new discount rules, they are not applied to the products.Could you please advise on how to:
- Safely remove the old database tables and foreign key constraints.
- Ensure that only the new discount rules are applied without interference from the old data.
I really believe this plugin is very useful and has great potential, and I would be happy to continue using it once these issues are resolved.
Thank you again for your support.