Title: Multisite PHP notice
Last modified: August 20, 2019

---

# Multisite PHP notice

 *  Resolved [johnamp](https://wordpress.org/support/users/johnamp/)
 * (@johnamp)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-php-notice-2/)
 * Hello,
    I tried your plugin on a multisite install and got this notice: PHP Notice
   Constant WP_ALLOW_MULTISITE already defined in /var/www/vhosts/xxxxxxxxx.com/
   httpdocs/wp-config.php on line 172
 * It appears that the plugin either added a second instance or it didn’t remove
   the first instance.
    This may be just my site but I thought I would post it here
   just in case.

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

 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-php-notice-2/#post-11850479)
 * Interesting. `WP_ALLOW_MULTISITE` is not one of the constants this plugin interacts
   with.
 * [https://github.com/afragen/wp-debugging/blob/e95c9ed1550064cf8221e2e0a90fae74a47bf421/src/Bootstrap.php#L49](https://github.com/afragen/wp-debugging/blob/e95c9ed1550064cf8221e2e0a90fae74a47bf421/src/Bootstrap.php#L49)
 * I test and use this plugin on a multisite install and I’ve not seen this previously.
 * Can you copy/paste the exact error message?
    -  This reply was modified 6 years, 9 months ago by [Andy Fragen](https://wordpress.org/support/users/afragen/).
 *  Thread Starter [johnamp](https://wordpress.org/support/users/johnamp/)
 * (@johnamp)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-php-notice-2/#post-11858322)
 * I have tried it on a second instance of a multisite and I don’t see the error
   there. It looks like it is that one install specific. Tracked it down to custom
   function that one of the other developers had created and for some reason, this
   error showed up. Oddly, it didn’t show up if I had debug set to true manually
   without your plugin.
    So all good. Thank you for the quick reply.
    -  This reply was modified 6 years, 9 months ago by [johnamp](https://wordpress.org/support/users/johnamp/).
 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-php-notice-2/#post-11858340)
 * Strange but glad you got it figured out.

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

The topic ‘Multisite PHP notice’ is closed to new replies.

 * ![](https://ps.w.org/wp-debugging/assets/icon.svg?rev=2842498)
 * [WP Debugging](https://wordpress.org/plugins/wp-debugging/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-debugging/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-debugging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-debugging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-debugging/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/multisite-php-notice-2/#post-11858340)
 * Status: resolved