[wp-trac] [WordPress Trac] #27974: Unable to Log In, Cookies Are Blocked Due To Unexpected Output

WordPress Trac noreply at wordpress.org
Thu Aug 6 01:27:25 UTC 2015


#27974: Unable to Log In, Cookies Are Blocked Due To Unexpected Output
------------------------------------+----------------------
 Reporter:  dejong1968              |       Owner:
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:  3.9
 Severity:  major                   |  Resolution:  invalid
 Keywords:  close                   |     Focuses:
------------------------------------+----------------------

Comment (by jesserhys):

 Hi, I have tried all of the above (checked/fixed wp-config.php), however i
 still cannont log in.

 I get
 ERROR: Cookies are blocked due to unexpected output.


 Warning: Cannot modify header information - headers already sent by
 (output started at /home/brain281/public_html/wp-
 content/themes/optimizer/framework/core-pagination.php:13) in
 /home/brain281/public_html/wp-login.php on line 425

 Warning: Cannot modify header information - headers already sent by
 (output started at /home/brain281/public_html/wp-
 content/themes/optimizer/framework/core-pagination.php:13) in
 /home/brain281/public_html/wp-login.php on line 438

 Warning: Cannot modify header information - headers already sent by
 (output started at /home/brain281/public_html/wp-
 content/themes/optimizer/framework/core-pagination.php:13) in
 /home/brain281/public_html/wp-includes/pluggable.php on line 925

 Warning: Cannot modify header information - headers already sent by
 (output started at /home/brain281/public_html/wp-
 content/themes/optimizer/framework/core-pagination.php:13) in
 /home/brain281/public_html/wp-includes/pluggable.php on line 926

 Warning: Cannot modify header information - headers already sent by
 (output started at /home/brain281/public_html/wp-
 content/themes/optimizer/framework/core-pagination.php:13) in
 /home/brain281/public_html/wp-includes/pluggable.php on line 927


 So I have opened core-pagination.php, and this is what it says:

 09: * @since Optimizer 1.0
 10: */
 11:global $optimizer;?>
 12:
 13:<?php function optimizer_pagination($navigation='numbered', $query='')
 { ?>
 14:
 15:             <?php if($navigation !== 'no_nav') { ?>
 16:
 17:                <?php if($navigation == 'numbered' || $navigation ==
 'numbered_ajax') { ?>
 18:                    <div class="ast_pagenav">

 im still not sure what the error is with line 13, any help would be much
 appreciated!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27974#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list