Title: Error when upgrading
Last modified: August 20, 2016

---

# Error when upgrading

 *  Resolved [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * (@keithacarlson)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/)
 * I am trying to upgrade from 1.2.39.3 to 1.9.6.1 and when I try to activate the
   newer version I get this error –
    Fatal error: Cannot redeclare plugin_prevent_upgrade()(
   previously declared in /mnt/stor08-wc1-ord1/744664/test.thepurebar.com/web/content/
   wp-content/plugins/store-locator/store-locator.php:36) in /mnt/stor08-wc1-ord1/
   744664/test.thepurebar.com/web/content/wp-content/plugins/store-locator-new/store-
   locator.php on line 52
 * [http://wordpress.org/extend/plugins/store-locator/](http://wordpress.org/extend/plugins/store-locator/)

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

 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490942)
 * Try v1.9.6.2 .. sounds like another plugin may have the same function. Also try
   deactivating the plugin first, upgrading it, then reactivating it .. see if that
   does the trick.
 *  Thread Starter [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * (@keithacarlson)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490943)
 * The weird thing is that the older version is definitely working, but it doesn’t
   show up in the plugin list, or I would have tried that first. Should I try deleting
   the old one from the plugins directory?
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490947)
 * Interesting — make sure you’re actually viewing ‘all’ of your plugins, and you’re
   not just viewing ‘active’, ‘inactive’, ‘recently active’ or ‘update available’
   plugins.
 * As long as you’ve moved any of your customizations (CSS, images, translations,
   etc.) to ‘wp-content/uploads/sl-uploads/’ you should be fine deleting, then installing
   the latest version
 *  Thread Starter [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * (@keithacarlson)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490952)
 * Yes, I checked that a couple of times. It is really odd. The only one that shows
   up is the new one, which is not active yet.
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490961)
 * Another way to deactivate the older version, since you’re not seeing it, is to
   rename the older ‘store-locator’ folder to something like ‘store-locator.old’
   and then re-visit the Plugins page of your WP admin area ..
 * Then, a highlighted message saying that the plugin was deactivated should usually
   appear a the top, because it couldn’t be found under it’s original folder name.
 *  Thread Starter [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * (@keithacarlson)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490968)
 * That seems like it worked. Thanks for the help. Now I have one last thing I am
   trying to do. I need to do a bulk import or update. Is there an easy way to do
   that?
 *  Thread Starter [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * (@keithacarlson)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490969)
 * One other thing, on both this version and the old one, the Manage locations page
   has no results, and I can’t figure out if there is something I should do to show
   results. If I change the locations per page, and click change, i still don’t 
   see results. If i click the show un-geocoded locations (369) I also don’t see
   any results.
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490970)
 * Contact us via our website .. All these issues seem like something unique to 
   your server/setup
 *  Thread Starter [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * (@keithacarlson)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490972)
 * I just responded in your form on your site. Thanks for the help.

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

The topic ‘Error when upgrading’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator_343c21.svg)
 * [Store Locator for WordPress with Google Maps – LotsOfLocales](https://wordpress.org/plugins/store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [keithacarlson](https://wordpress.org/support/users/keithacarlson/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/error-when-upgrading/#post-3490972)
 * Status: resolved