[wp-hackers] [report] Error adding new user - Multisite

Ricardo Moraleida moraleida at gmail.com
Thu Feb 21 23:01:34 UTC 2013


You're trying to do a wp_redirect() somewhere after headers were sent, so
this error occurs. Try to move your redirect call earlier on the page load.

Line 876 on pluggable.php is:

'header("Location: $location", true, $status);'

inside the wp_redirect() function.

Ricardo Moraleida


2013/2/21 Lee Rickler <info at a5d.org>

> ah! yes, my bad - didn't read the path correctly.
>
> In that case, check any plugins you've installed - best option is to turn
> them all off then 1 by 1 back on again.
> Also, try using the default theme and see if the error still occurs.
>
> Trail and error.
>
>
> On 21 Feb 2013, at 22:43, wpmidia lab <wpmidia at gmail.com> wrote:
>
> > Hello Lee... but this is a WordPress core file.... I did not mess with
> the
> > core files :)
> > I'm reporting to let the developers know that the error is occurring.
> >
> > Thanks!
> >
> >
> > Miriam de Paula.
> >
> >
> > 2013/2/21 Lee Rickler <info at a5d.org>
> >
> >> What's on line 1065 of ms-functions.php?
> >>
> >> Possibly a line break/ empty space?
> >>
> >> Try removing it.
> >>
> >> On 21 Feb 2013, at 22:39, wpmidia lab <wpmidia at gmail.com> wrote:
> >>
> >>> I received this error when I tried to add an user on Network Panel:
> >>>
> >>> *Warning*: sprintf()
> >>> [function.sprintf<
> >> http://ipeposgraduacao.com.br/site/wp-admin/network/function.sprintf>]:
> >>> Too few arguments in */home/[...]/site/wp-includes/ms-functions.php* on
> >>> line *1065*
> >>>
> >>> *Warning*: Cannot modify header information - headers already sent by
> >>> (output started at /home/[...]/site/wp-includes/ms-functions.php:1065)
> >> in *
> >>> /home/[...]/site/wp-includes/pluggable.php* on line*876*
> >>>
> >>> What is this? How to proceed?
> >>>
> >>> --
> >>> *Míriam de Paula *
> >>> *Twitter:* @miriamdepaula
> >>>
> >>> *desenvolvimento web*
> >>> http://wpmidia.com.br
> >>> twitter: @wpmidia
> >>>
> >>> *WordPress Brasil no Facebook:*
> >>> http://www.facebook.com/groups/wordpress.brasil
> >>>
> >>> *OpenCart Brasil no Facebook:*
> >>> http://www.facebook.com/groups/opencart.brasil/
> >>>
> >>>
> >>>
> >>>
> >>> *Hospedagem de Qualidade é na HostGator<
> >> http://www.hostgator.com.br/6133-4.html>
> >>> *
> >>> _______________________________________________
> >>> wp-hackers mailing list
> >>> wp-hackers at lists.automattic.com
> >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> >
> >
> >
> > --
> > *Míriam de Paula *
> > *Twitter:* @miriamdepaula
> >
> > *desenvolvimento web*
> > http://wpmidia.com.br
> > twitter: @wpmidia
> >
> > *WordPress Brasil no Facebook:*
> > http://www.facebook.com/groups/wordpress.brasil
> >
> > *OpenCart Brasil no Facebook:*
> > http://www.facebook.com/groups/opencart.brasil/
> >
> >
> >
> >
> > *Hospedagem de Qualidade é na HostGator<
> http://www.hostgator.com.br/6133-4.html>
> > *
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list