[wp-trac] [WordPress Trac] #47592: Warning: Header may not contain NUL bytes in /app/wp-login.php on line 12

WordPress Trac noreply at wordpress.org
Sun Jun 23 09:22:06 UTC 2019


#47592: Warning: Header may not contain NUL bytes in /app/wp-login.php on line 12
----------------------------+-----------------------------
 Reporter:  sebastienserre  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Hello,

 I'm on a local env under https://docs.devwithlando.io/ PHP 7.3.6

 I'm installing a new WP and got this error

 {{{
 Warning: Header may not contain NUL bytes in /app/wp-login.php on line 12
 }}}
  which is this part of code
 {{{#!php
 <?php
 // Sanity check.
 if ( false ) {
         ?>
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
 />
         <title>Error: PHP is not running</title>
 </head>
 <body class="wp-core-ui">
         <p id="logo"><a href="https://wordpress.org/">WordPress</a></p>
         <h1>Error: PHP is not running</h1>
         <p>WordPress requires that your web server is running PHP. Your
 server does not have PHP installed, or PHP is turned off.</p>
 </body>
 </html>
         <?php
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47592>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list