Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    (@vinnylinux)

    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

    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.