I deactivated my coming soon plugin to troubleshoot an error possibly related to Pro Sites, so I decided to use the Multisite Privacy plugin to keep visitors out for now. After trying a few settings I see the following in my error log:
[02-Mar-2019 03:02:43 UTC] PHP Fatal error: Uncaught Error: Call to a member function add() on null in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php:359
Stack trace:
#0 /.../wp-includes/class-wp-hook.php(286): additional_privacy_login_message('')
#1 /.../wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /.../wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /.../wp-login.php(114): do_action('login_head')
#4 /.../wp-login.php(1045): login_header('Log In', '', Object(WP_Error))
#5 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(221): require_once('/var/www/wpboot...')
#6 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(70): WP_DefenderModuleAdvanced_ToolsControllerMask_Login->_showLoginPage()
#7 / in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php on line 359
[02-Mar-2019 03:02:55 UTC] PHP Fatal error: Uncaught Error: Call to a member function add() on null in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php:359
Stack trace:
#0 /.../wp-includes/class-wp-hook.php(286): additional_privacy_login_message('')
#1 /.../wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /.../wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /.../wp-login.php(114): do_action('login_head')
#4 /.../wp-login.php(1045): login_header('Log In', '', Object(WP_Error))
#5 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(221): require_once('/var/www/wpboot...')
#6 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(70): WP_DefenderModuleAdvanced_ToolsControllerMask_Login->_showLoginPage()
#7 / in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php on line 359
[02-Mar-2019 03:03:24 UTC] PHP Fatal error: Uncaught Error: Call to a member function add() on null in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php:359
Stack trace:
#0 /.../wp-includes/class-wp-hook.php(286): additional_privacy_login_message('')
#1 /.../wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /.../wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /.../wp-login.php(114): do_action('login_head')
#4 /.../wp-login.php(1045): login_header('Log In', '', Object(WP_Error))
#5 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(221): require_once('/var/www/wpboot...')
#6 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(70): WP_DefenderModuleAdvanced_ToolsControllerMask_Login->_showLoginPage()
#7 / in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php on line 359
[02-Mar-2019 03:04:12 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /.../wp-content/plugins/pro-sites/pro-sites-files/lib/ProSites/Helper/Session.php on l$
[02-Mar-2019 03:04:12 UTC] PHP Warning: Cannot modify header information - headers already sent in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php on line 596
[02-Mar-2019 03:05:41 UTC] PHP Fatal error: Uncaught Error: Call to a member function add() on null in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php:355
Stack trace:
#0 /.../wp-includes/class-wp-hook.php(286): additional_privacy_login_message('')
#1 /.../wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /.../wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /.../wp-login.php(114): do_action('login_head')
#4 /.../wp-login.php(1045): login_header('Log In', '', Object(WP_Error))
#5 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(221): require_once('/var/www/wpboot...')
#6 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(70): WP_DefenderModuleAdvanced_ToolsControllerMask_Login->_showLoginPage()
#7 / in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php on line 355
[02-Mar-2019 03:06:15 UTC] PHP Fatal error: Uncaught Error: Call to a member function add() on null in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php:355
Stack trace:
#0 /.../wp-includes/class-wp-hook.php(286): additional_privacy_login_message('')
#1 /.../wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /.../wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /.../wp-login.php(114): do_action('login_head')
#4 /.../wp-login.php(1045): login_header('Log In', '', Object(WP_Error))
#5 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(221): require_once('/var/www/wpboot...')
#6 /.../wp-content/plugins/wp-defender/app/module/advanced-tools/controller/mask-login.php(70): WP_DefenderModuleAdvanced_ToolsControllerMask_Login->_showLoginPage()
#7 / in /.../wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php on line 355
Also, here in the Hub it says that my site is down, even though it’s not.
Other active plugins: Pro Sites, Defender Pro, WPMU DEV Dashboard.
On the main site, where I locked visitors out, I’m using one of the default WordPress themes.
I will deactivate the plugin, but at least wanted to let you know =))