Title: Error installing as MU-plugin?
Last modified: August 22, 2016

---

# Error installing as MU-plugin?

 *  Resolved [boutzamat](https://wordpress.org/support/users/boutzamat/)
 * (@boutzamat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-installing-as-mu-plugin/)
 * Hi.
 * I am trying to use AME as a MU plugin, but when ever i include it in my functions
   where i call all the MU plugins i get this error: Fatal error: Cannot redeclare
   ws_ame_installation_error() in /data/home/simpleme/subdomains/ddjs/wp-content/
   mu-plugins/admin-menu-editor-mu.php on line 38
 * I already DID move the admin-menu-editor-mu.php to the root of mu-plugins folder(
   wp-content/mu-plugins).
 * Why do i get this error?
 * I had it installed as a normal plugin before – can it be that i didnt uninstall
   it correctly? if yes, what table must i delete it from in the database?
 * Thanks for your awesome plugin! 🙂
 * [https://wordpress.org/plugins/admin-menu-editor/](https://wordpress.org/plugins/admin-menu-editor/)

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

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-installing-as-mu-plugin/#post-5927659)
 * WordPress will automatically include any .php files in the `mu-plugins` directory.
   If you _also_ include them in your plugin/theme/whatever, you might be effectively
   loading the plugin twice, which is probably what’s causing the error. Or did 
   you mean something else when you said you include it in your functions?
 *  Thread Starter [boutzamat](https://wordpress.org/support/users/boutzamat/)
 * (@boutzamat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-installing-as-mu-plugin/#post-5927667)
 * Ah okay, i get it now.. Its because i have other plugins in the MU folder that
   needs to be included manually, but i guess thats because they dont have the php
   file in the mu folder, but in their own /mu-plugins/pluginname/file.php.
 * After removing the call to your plugin it works 🙂 Thanks and sorry for being
   stupid (first time using MU plugins)
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-installing-as-mu-plugin/#post-5927681)
 * Sure, no problem 🙂

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

The topic ‘Error installing as MU-plugin?’ is closed to new replies.

 * ![](https://ps.w.org/admin-menu-editor/assets/icon-128x128.png?rev=1418604)
 * [Admin Menu Editor](https://wordpress.org/plugins/admin-menu-editor/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-menu-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-menu-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-menu-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-menu-editor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-installing-as-mu-plugin/#post-5927681)
 * Status: resolved