Title: Cannot redeclare wpcore_set_false()
Last modified: August 21, 2016

---

# Cannot redeclare wpcore_set_false()

 *  Resolved [Kristof Loyens Quantum Leap](https://wordpress.org/support/users/quantum-leap/)
 * (@quantum-leap)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cannot-redeclare-wpcore_set_false/)
 * After install i tried activating the plugin and it gave me an error.
 * Fatal error: Cannot redeclare wpcore_set_false() (previously declared in /home/
   xxxxxxxxxxxxx/plugins/wpcore/lib/class-wpcore.php:281) in /home/xxxxxxxxxxxxx/
   plugins/wpcore/lib/class-wpcore.php on line 280
 * [https://wordpress.org/plugins/wpcore/](https://wordpress.org/plugins/wpcore/)

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

 *  Thread Starter [Kristof Loyens Quantum Leap](https://wordpress.org/support/users/quantum-leap/)
 * (@quantum-leap)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cannot-redeclare-wpcore_set_false/#post-5102291)
 *     ```
       add_filter('tgmpa_admin_menu_use_add_theme_page', 'wpcore_set_false');
       			function wpcore_set_false(){
       				return false;
       			}}
       ```
   
 * Removed the extra declaration and now plugin works fine.
 * Not sure if this was the right thing to do but it seems to have fixed it for 
   now.
 *  Plugin Author [stueynet](https://wordpress.org/support/users/stueynet/)
 * (@stueynet)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cannot-redeclare-wpcore_set_false/#post-5102367)
 * Where is the extra declaration? I don’t see it and I have not seen this error
   in any of my test installs. Thanks for the help!
 *  [Spiralli](https://wordpress.org/support/users/spiralli/)
 * (@spiralli)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cannot-redeclare-wpcore_set_false/#post-5102509)
 * Just came across this bug too.
 *  Plugin Author [stueynet](https://wordpress.org/support/users/stueynet/)
 * (@stueynet)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cannot-redeclare-wpcore_set_false/#post-5102542)
 * I think this should be fixed in the current release. It possible this is form
   a very old version but I never had the error. Please update and let me know if
   you are still having problems.

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

The topic ‘Cannot redeclare wpcore_set_false()’ is closed to new replies.

 * ![](https://ps.w.org/wpcore/assets/icon-256x256.png?rev=979391)
 * [WPCore Plugin Manager](https://wordpress.org/plugins/wpcore/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcore/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcore/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcore/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcore/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcore/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [stueynet](https://wordpress.org/support/users/stueynet/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/cannot-redeclare-wpcore_set_false/#post-5102542)
 * Status: resolved