• Resolved shoopiable

    (@shoopiable)


    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
    – user3

    I 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.

    https://ww.wp.xz.cn/plugins/jonradio-private-site/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I will immediately try and re-create the error on my test system. Then I’ll know how to proceed.

    Thanks for reporting this so quickly.

    Thread Starter shoopiable

    (@shoopiable)

    great, thank you for getting to this stuff in such a timely manner!

    I need to do more testing as my first attempt did not re-create your problem, which appears to be a looping issue related to my use of wp_logout()

    Since it is late here, further testing will have to wait until morning. I will post updates here, in this thread.

    Thanks again for this.

    Thread Starter shoopiable

    (@shoopiable)

    ok no problem, do let me know if I can be of any help if you need

    I have sent you a possible fix by e-mail, for your testing. If it works, I will immediately release it as new version of the plugin.

    Thanks.

    Thread Starter shoopiable

    (@shoopiable)

    well done. that fixed it!

    Version 2.11.1 has just been released, incorporating that change.

    Thanks again for all your help with this.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘multisite error (Warning: Cannot modify header information)’ is closed to new replies.