multisite error (Warning: Cannot modify header information)
-
well done on getting the update out!
I was attempting to get the multisite configuration going and came across the following warning error on a fresh install.
Create a multisite environment
Multisite
* Main site
– user1
* subsite2
– user2
* subsite3
– user3I have your plugin installed on each of the two subsites (not network enabled)
It correctly restricts access to the subsites that a user is not logged into, but when a logged in users attempts to visit a subsite which they don’t have an account registered for, it spits out a header error (see below the output). So in the above example, user2 logs into subsite2 correctly, but then attempts to navigate to subsite3, this is when the warning appears.
I’ve installed this on a fresh multisite so no plugin conflicts are possible. the only thing I can think of is a theme incompatibility.
I would be happy to help co-ordinate the debugging with you if you like or even give you access to my setup if you like..
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 883
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 884
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 885
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 886
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 887
Warning: Cannot modify header information – headers already sent by (output started at www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 888
Warning: Cannot modify header information – headers already sent by (output started at o/www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 891
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 892
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 893
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 894
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 897
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 898
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 899
Warning: Cannot modify header information – headers already sent by (output started at /www/ms/wp-content/plugins/jonradio-private-site/includes/public.php:183) in /www/ms/wp-includes/pluggable.php on line 900
Your User ID has not been defined to this Site. If you believe that you should be able to access this Site, please contact your network administrator or this site’s webmaster, and mention that your access was blocked by the jonradio Private Site plugin.
The topic ‘multisite error (Warning: Cannot modify header information)’ is closed to new replies.