Title: Fatal error WC_Geolocation
Last modified: August 13, 2018

---

# Fatal error WC_Geolocation

 *  Resolved [Edsye](https://wordpress.org/support/users/edsye/)
 * (@edsye)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-wc_geolocation/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-wc_geolocation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Aashik P – a11n](https://wordpress.org/support/users/aashik/)
 * (@aashik)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-wc_geolocation/#post-10589286)
 * 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/](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](https://woocommerce.com/products/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](https://wordpress.org/plugins/meks-quick-plugin-disabler/)
   is a tool that will remember what plugins you had active when you switch it back
   on.
    * [Health Check](https://wordpress.org/plugins/health-check/) is a tool 
   that can be useful for debugging, though it requires an official default theme
   like [Twenty Seventeen](https://wordpress.org/themes/twentyseventeen/) . 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!
    -  This reply was modified 7 years, 10 months ago by [Aashik P - a11n](https://wordpress.org/support/users/aashik/).
 *  Thread Starter [Edsye](https://wordpress.org/support/users/edsye/)
 * (@edsye)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-wc_geolocation/#post-10596869)
 * 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.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Edsye](https://wordpress.org/support/users/edsye/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-wc_geolocation/#post-10596869)
 * Status: resolved