Plugin Contributor
Maya
(@tdgu)
When the WP Hide plugin is active, it turn on the output buffering so any notices and warnings are not visible, the WordPress can continue to run and push any required headers. Now, once the plugin is not active anymore, another plugin/plugins which produce any notice / warring block any headers so the code stops.
I suggest so you turn off the plugins one by one to see which one produce the issue, or turn off the notice / warning php notifications and keep just fatal errors.
Thanks
Hmmm I forgot to include some information.
I currently cannot log into the wordpress portal.
When I attempt to log in I’m getting the following
Warning: in_array() expects parameter 2 to be array, boolean given in /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php on line 18
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-login.php on line 421
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-login.php on line 434
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-includes/pluggable.php on line 920
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-includes/pluggable.php on line 921
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php:18) in /var/sites/n/neilthirkellphotography.com/public_html/wp-includes/pluggable.php on line 922
Plugin Contributor
Maya
(@tdgu)
I guess you right, as if there’s no active plugin on your site it might trigger the warning.
For now, update the line 17 with he following:
$active_plugins = (array)get_option('active_plugins');
In which file? wp-hide-loader.php?
Plugin Contributor
Maya
(@tdgu)
Sorry i meant this file /var/sites/n/neilthirkellphotography.com/public_html/wp-content/mu-plugins/wp-hide-loader.php
Fixed.
Back into my admin portal now.
Thanks for the help