Title: Error in WordPress Multisite with subdomain setting
Last modified: August 21, 2016

---

# Error in WordPress Multisite with subdomain setting

 *  Resolved [bffnb](https://wordpress.org/support/users/bffnb/)
 * (@bffnb)
 * [12 years ago](https://wordpress.org/support/topic/error-in-wordpress-multisite-with-subdomain-setting/)
 * Hi!
 * I turned on my WP Debug im my wp-config and get 2 errors regarding your plugin.
 * The errors:
 * Notice: Undefined index: page in /home/miguelme/public_html/wp-content/plugins/
   wordpress-notification-bar/inc/class-plugin.php on line 126
 * Notice: Undefined index: page in /home/miguelme/public_html/wp-content/plugins/
   wordpress-notification-bar/inc/class-plugin.php on line 144
 * To remove the errors i changed line 126 from:
 * `if((is_admin_bar_showing() && $_GET['page'] === 'seed_wnb')){`
 * to:
 * `if((is_admin_bar_showing() && isset($_GET['page']) === 'seed_wnb')){`
 * AND LINE 144 from:
 * `if($_GET['page'] === 'seed_wnb' && $options['bg_color']){`
 * to:
 * `if(isset($_GET['page']) === 'seed_wnb' && $options['bg_color']){`
 * CAN YOU TELL ME IF THIS IS OK????
    The errors are gone…
 * Thx

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Turner](https://wordpress.org/support/users/johnnytee/)
 * (@johnnytee)
 * [12 years ago](https://wordpress.org/support/topic/error-in-wordpress-multisite-with-subdomain-setting/#post-5102842)
 * It would actually be:
 * Your:
    isset($_GET[‘page’]) === ‘seed_wnb’
 * Correct:
 * (isset($_GET[‘page’]) && $_GET[‘page’] === ‘seed_wnb’)
 * I’ll push a fix for this!
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Error in WordPress Multisite with subdomain setting’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-notification-bar_a77b80.
   svg)
 * [WordPress Notification Bar](https://wordpress.org/plugins/wordpress-notification-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-notification-bar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Turner](https://wordpress.org/support/users/johnnytee/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/error-in-wordpress-multisite-with-subdomain-setting/#post-5102842)
 * Status: resolved