Support » Plugin: WooCommerce » Fatal error

  • Resolved aiklywebdesign


    [23-Feb-2022 11:24:35 UTC] PHP Fatal error: Cannot declare class ET_Builder_Module_Shop, because the name is already in use in /var/www/vhosts/ on line 0

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    It looks like the error is coming from the theme that’s currently active on your site. You’ll want to reach out to the theme author directly and they should be able to assist you with this.

    WordPress notified me of an error with my WC plugin. The error is:

    An error of type E_COMPILE_ERROR was caused in line 24 of the file /var/www/volumes/xvdq/vhosts/ Error message: require(): Failed opening required ‘/var/www/volumes/xvdq/vhosts/’ (include_path=’.:’)

    My hosting service deactivated the plugin so I could login to my admin panel. I tried to reactivate the plugin, yet failed due to this:

    Plugin could not be activated because it triggered a fatal error.

    What can you tell me?

    Plugin Support Juan G. woo-hc


    Hi @ranefox!

    It seems that the cause could be a conflict with your theme or another plugin you have installed on your site.

    To be sure of this, please perform a conflict test by temporarily switching your theme back to Storefront, disabling all plugins, and then try to reactivate WooCoommerce. If you can install it, then re-enable all plugins one-by-one, until you find the one creating the conflict.

    Let us know how that goes for you!

    Here too!
    PHP versão 7.4.3
    WordPress 5.9.1
    Theme: CSS child theme based on Divi 4.14.8
    WooCommerce: 6.2.1

    Temporary Solution

    Deactivate WooCommerce

    Roll Back the Divi to a previous version. There is a one click button on Divi > Options > Updates.

    Take notes of versions new and old.

    Activate WooCommerce.

    Wait to a new-new version update of Divi.

    Maybe there is a better solution by ElegantThemes, but I think it is a Divi issue.

    Plugin Support Igor H (woo-hc)


    Hi @nandocoelho

    For better assistance, please create your own thread for your issue –

    We want to make sure that every user’s issues receive their own thread with proper attention.

    * Frequently Asked Questions.


    Hey @ihereira,

    Thanks for the warning. I thought it would be just the same case as I have the same error with the same theme and plugin. I wasn’t aware of that.

    Well, but let me post my last findings on the issue. I discover that this error may be replicable in one special condition along with the versions metioned above. If is used a dummy domain, a custom personal not public registered domain, say it will cause the error. Otherwise if the domain is public acessible the error is not replicable.

    Plugin Support Igor H (woo-hc)



    This is helpful for anyone looking for guidance.

    We recommend contacting your theme support for further assistance.

    Thank you.

    Plugin Support Juan G. woo-hc


    Hi there,

    We haven’t heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, the provided information was helpful, and you solved the issue. If you have any further questions, we recommend creating a new thread.


Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal error’ is closed to new replies.