Title: plugin won&#039;t work without wp-mvc activated
Last modified: August 20, 2016

---

# plugin won't work without wp-mvc activated

 *  [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * (@vinnylinux)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wont-work-without-wp-mvc-activated/)
 * How resolve this problem?
 * [http://wordpress.org/extend/plugins/wp-mvc/](http://wordpress.org/extend/plugins/wp-mvc/)

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

 *  [dodmax](https://wordpress.org/support/users/dodmax/)
 * (@dodmax)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wont-work-without-wp-mvc-activated/#post-2929713)
 * It’s not really a problem, more of a requirement.
    Your plugin needs WP-MVC to
   be loaded in order to work.
 * I guess you could try to bundle your plugin and wp-mvc together so wp-mvc won’t
   show in the plugin tab.
 * Try moving the content of the wp-mvc folder in your plugin folder (so you will
   have my-plugin/core) and add `require 'wp_mvc.php'` on top of your my_plugin.
   php file.
 * This won’t work if you have more than one plugin using wp-mvc though.
 *  Thread Starter [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * (@vinnylinux)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wont-work-without-wp-mvc-activated/#post-2929719)
 * I did it and worked, Thanks.
 * I guess what is better because users don’t need install the wpmvc for run my 
   plugin. Is more easy
 *  [dodmax](https://wordpress.org/support/users/dodmax/)
 * (@dodmax)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wont-work-without-wp-mvc-activated/#post-2929724)
 * Glad it worked.
    But keep in mind that if someone installs wp-mvc (for another
   plugin) while your plugin is activated it’s gonna break the WordPress installation(
   Fatal error cannot redeclare class XXX). Removing the `require 'wp_mvc.php'` 
   should be enough to fix it. Worth throwing a note about it in your read_me 🙂

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

The topic ‘plugin won't work without wp-mvc activated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mvc_ffffff.svg)
 * [WP MVC](https://wordpress.org/plugins/wp-mvc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mvc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mvc/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mvc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mvc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mvc/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [dodmax](https://wordpress.org/support/users/dodmax/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wont-work-without-wp-mvc-activated/#post-2929724)
 * Status: not resolved