[wp-trac] [WordPress Trac] #63122: Site Editor: Browser reload causes PHP warning error on the Pages screen

WordPress Trac noreply at wordpress.org
Tue Mar 18 15:46:49 UTC 2025


#63122: Site Editor: Browser reload causes PHP warning error on the Pages screen
--------------------------+--------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.8
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 - Access Apperance > Editor > Pages > Select "Sample Page"
 - The URL should be: http://localhost:8888/wp-admin/site-
 editor.php?p=%2Fpage&postId=2
 - Reload your browser
 - Confirm the PHP warning

 {{{
 Warning: Undefined variable $post in /var/www/html/wp-admin/site-
 editor.php on line 242

 Warning: Attempt to read property "post_name" on null in /var/www/html/wp-
 admin/site-editor.php on line 242

 Warning: Cannot modify header information - headers already sent by
 (output started at /var/www/html/wp-admin/site-editor.php:242) in
 /var/www/html/wp-admin/admin-header.php on line 14
 }}}


 This warning is new to 6.8.

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


More information about the wp-trac mailing list