Title: Fatal Error on plugin activation
Last modified: January 23, 2020

---

# Fatal Error on plugin activation

 *  Resolved [ianbarker24](https://wordpress.org/support/users/ianbarker24/)
 * (@ianbarker24)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-on-plugin-activation-28/)
 * Can you help please? I’m getting the following fatal error when trying to activate
   your plugin, free version;
 * Fatal error: Cannot declare class SP_Admin, because the name is already in use
   in /hermes/bosnaweb19a/b2946/ipg.kplpoolcom/kpl-shop/wp-content/plugins/sportspress/
   includes/admin/class-sp-admin.php on line 15
 * I’m trying to activate the pliugin on a site based upon the WooCommerce Storefront
   theme. Is this a conflict with another plugin in use do you think?
 * Thanks
    Ian Barker
    -  This topic was modified 6 years, 3 months ago by [ianbarker24](https://wordpress.org/support/users/ianbarker24/).

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

 *  Plugin Contributor [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-on-plugin-activation-28/#post-12361650)
 * Hi [@ianbarker24](https://wordpress.org/support/users/ianbarker24/) ,
 * It seems like a conflict indeed. Can you try to switch to a default theme like`
   Rookie` or `Twentytwenty` and try to re-activate SportsPress?
 * Thanks,
    Savvas
 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-on-plugin-activation-28/#post-12361848)
 * [@ianbarker24](https://wordpress.org/support/users/ianbarker24/)
 * Temporarily you could add this to your sportspress.php file :
    if (class_exists(‘
   SP_Admin’)) { return false; }
 * Better would be
    – completely delete the SportsPress plugin, – deactivate all
   other plugins, – switch your theme to TwentyTwenty, – re-install SportsPress
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-on-plugin-activation-28/#post-12566366)
 * That’s a great workaround 🙂

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

The topic ‘Fatal Error on plugin activation’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Roch](https://wordpress.org/support/users/rochesterj/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-on-plugin-activation-28/#post-12566366)
 * Status: resolved