• Hi,
    I have just updated my WooCommerce and Product Bundles plugins. And I get a message to update both the Mix-max and Bulk Discounts plugins. However when I try to activate either of these plugins, I am getting an error message. One of them is below:

    Fatal error: Cannot declare class WC_PB_Bulk_Discounts, because the name is already in use in D:\Inetpub\vhosts\rhea-solutions.co.uk\wobuk.co.uk\wp-content\plugins\product-bundles-bulk-discounts-for-woocommerce\product-bundles-bulk-discounts-for-woocommerce.php on line 30

    I have tried deleting both the plugins and reinstalling them, but I still get the same error. Can you help please?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Kytros

    (@jasonkytros)

    Hey @chandinipaterson,

    Thanks for the follow-up!

    Fatal error: Cannot declare class WC_PB_Bulk_Discounts, because the name is already in use in D:\Inetpub\vhosts\rhea-solutions.co.uk\wobuk.co.uk\wp-content\plugins\product-bundles-bulk-discounts-for-woocommerce\product-bundles-bulk-discounts-for-woocommerce.php on line 30

    This error indicates that Bulk Discounts already exists in your server. Could you please follow this path: D:\Inetpub\vhosts\rhea-solutions.co.uk\wobuk.co.uk\wp-content\plugins\ and make sure that the product-bundles-bulk-discounts-for-woocommerce directory is deleted?

    If it is, then you should be able to upload the latest Bulk Discounts version without any issues. Could you please try this and let us know how it goes?

    Cheers,
    Jason Kytros
    Support Engineer | SomewhereWarm SMPC | https://somewherewarm.com/

Viewing 1 replies (of 1 total)
  • The topic ‘Error when activating plugin after update’ is closed to new replies.