Title: error when plugin is active
Last modified: July 21, 2021

---

# error when plugin is active

 *  Resolved [mecsys](https://wordpress.org/support/users/mecsys/)
 * (@mecsys)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-when-plugin-is-active/)
 * I just installed your plugin Folder Excluder for AIO WP Migration and when I 
   did so, it displays an error at the top of every admin page:
    Notice: add_submenu_page
   was called incorrectly. The seventh parameter passed to add_submenu_page() should
   be an integer representing menu position. Please see Debugging in WordPress for
   more information. (This message was added in version 5.3.0.) in /usr/home/grossman/
   www/wp-includes/functions.php on line 5313 When i deactivate the plugin, the 
   message goes away. Any thoughts on what this is or what to do to get rid of it?
   thanks,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-plugin-is-active%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [zeeshanx](https://wordpress.org/support/users/zeeshanx/)
 * (@zeeshanx)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-when-plugin-is-active/#post-14733702)
 * Hi [@mecsys](https://wordpress.org/support/users/mecsys/)
    It’s just a warning.
   I seems like you’ve enabled the debugging mode ON either with WordPress or PHP
   settings. You can turn it off with this guide: [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
 *  [guyuk](https://wordpress.org/support/users/guyuk/)
 * (@guyuk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-plugin-is-active/#post-14961676)
 * Hi Zeeshan, Just checking if this is you. I have an idea of how we can work together.
   So trying to contact you another way.
 * Regards Guy

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

The topic ‘error when plugin is active’ is closed to new replies.

 * ![](https://ps.w.org/aio-files-excluder/assets/icon-256x256.png?rev=2528529)
 * [Folder Excluder for AIO WP Migration](https://wordpress.org/plugins/aio-files-excluder/)
 * [Support Threads](https://wordpress.org/support/plugin/aio-files-excluder/)
 * [Active Topics](https://wordpress.org/support/plugin/aio-files-excluder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aio-files-excluder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aio-files-excluder/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [guyuk](https://wordpress.org/support/users/guyuk/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-plugin-is-active/#post-14961676)
 * Status: resolved