Title: Notice: Undefined variable: networkwide
Last modified: August 30, 2016

---

# Notice: Undefined variable: networkwide

 *  [Terry Delmar](https://wordpress.org/support/users/pix365/)
 * (@pix365)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/notice-undefined-variable-networkwide/)
 * WP-4.2.2
    php v5.5
 * I have two domains on dreamhost. Language base Site 1 is French
    Both use multisite-
   and since update to 4.2.2 having random 404’s Cleaned DB, flushed all caches,
   replaced all WP files. Deactivated all plugins (network) Used 2015 wp-default
   theme on Site 1 (no 404’s)
 * Attempted to create new site = a 404’s.
    Enable debug in wp-config –Start message—
   Notice: Undefined variable: networkwide in /my.domain.abc/wp-content/plugins/
   polylang/install/install-base.php on line 107
 * Warning: Cannot modify header information – headers already sent by (output started
   at /my.domain.abc/wp-content/plugins/polylang/install/install-base.php:107) in/
   my.domain.abc/wp-includes/pluggable.php on line 1196
    –end message — Network 
   actived Polyland (just your plugin) Same error message Site was not created. 
   Deactivated and moved polyland from plugins directory. Site created ———- Any 
   thoughts on where to help me diagnose this issue.
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/notice-undefined-variable-networkwide/#post-6245149)
 * Hi!
 * > Attempted to create new site = a 404’s.
 * You may hit this known WordPress bug: [https://core.trac.wordpress.org/ticket/20171](https://core.trac.wordpress.org/ticket/20171)
 * > Site was not created.
 * I don’t reproduce this. At blog creation, Polylang should just creating an a 
   wp_options entry with default values.
 * The notice should be harmless but it is now fixed in the development version (
   1.7.6.4).
    [https://downloads.wordpress.org/plugin/polylang.zip](https://downloads.wordpress.org/plugin/polylang.zip)
 * This development version also reintroduces a good way to flush rewrite rules 
   at network deactivation and activation. More info is available in comments of
   [https://polylang.wordpress.com/2015/06/10/polylang-1-7-6-and-multisite/](https://polylang.wordpress.com/2015/06/10/polylang-1-7-6-and-multisite/).
   As a side effect, it seems to fix the WordPress bug mentionned above.

Viewing 1 replies (of 1 total)

The topic ‘Notice: Undefined variable: networkwide’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/notice-undefined-variable-networkwide/#post-6245149)
 * Status: not resolved