• Resolved Edsye

    (@edsye)


    When activating WooCommerce we have the error:

    Fatal error: Cannot declare class WC_Geolocation, because the name is already in use in /var/www/vhosts/almeriatrending.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-geolocation.php on line 18

    Did anyone have the same problem? Does anyone know how to fix it?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hi there!

    Issues like this may be caused by either a conflict with your theme or with another plugin. You can read more about plugin and theme conflicts in the documentation here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:

    1. Temporarily switch your theme to the Storefront Theme.
    2. Disable all plugins except for WooCommerce. You can do this manually or by using a plugin to help.
    3. Test to see if the issue has been resolved.

    To help troubleshoot:

    * Meks Quick Plugin Disabler is a tool that will remember what plugins you had active when you switch it back on.
    * Health Check is a tool that can be useful for debugging, though it requires an official default theme like Twenty Seventeen . On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you while you’re logged in to that session without affecting normal visitors to your site.

    If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.

    I hope this helps!

    Thread Starter Edsye

    (@edsye)

    Thanks, the problem is created by the “VC Personalization” plugin in case someone else happens the same.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error WC_Geolocation’ is closed to new replies.