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
The topic ‘Error in WordPress Multisite with subdomain setting’ is closed to new replies.