[wp-trac] [WordPress Trac] #55288: Site Editor on 5.9.1 fails to find homepage template for FSE themes, on WP subdirectory installation

WordPress Trac noreply at wordpress.org
Tue Mar 8 01:15:03 UTC 2022


#55288: Site Editor on 5.9.1 fails to find homepage template for FSE themes, on WP
subdirectory installation
--------------------------+---------------------------------------
 Reporter:  andronocean   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.9.1
 Severity:  critical      |  Resolution:
 Keywords:                |     Focuses:  administration, template
--------------------------+---------------------------------------
Changes (by Enchiridion):

 * severity:  major => critical


Comment:

 I'm also getting this error.  My stack trace is a little different,
 probably because I'm using Firefox.  Like others in the linked forum
 thread, I'm using WordPress in a subdirectory.  What's odd is both 5.9 and
 5.9.1 make an XHR request to `/wp?_wp-find-template=true`, which 404s but
 also returns the requested JSON data.  Seems only 5.9.1 actually fails
 because of this.

 On 5.9.1 I can't edit any templates the site editor just crashes unless I
 have an direct link to the template to edit `/wp/wp-admin/site-
 editor.php?postId=site%2F%2F404&postType=wp_template`

 I've had to roll back to 5.9 in order to keep site dev going.

 Error from the Copy Error button:
 {{{
 IqXm/zr/r<@https://example.com/wp/wp-includes/js/dist/edit-
 site.min.js?ver=403e01f2b098b6a656118a51787581cb:2:121078
 promise callback*IqXm/zr/t<@https://example.com/wp/wp-includes/js/dist
 /edit-site.min.js?ver=403e01f2b098b6a656118a51787581cb:2:121054
 async*zr at https://example.com/wp/wp-includes/js/dist/edit-
 site.min.js?ver=403e01f2b098b6a656118a51787581cb:2:121424
 qr at https://example.com/wp/wp-includes/js/dist/edit-
 site.min.js?ver=403e01f2b098b6a656118a51787581cb:2:121896
 $r at https://example.com/wp/wp-includes/js/dist/edit-
 site.min.js?ver=403e01f2b098b6a656118a51787581cb:2:122936
 @https://example.com/wp/wp-admin/site-editor.php:2201:16
 EventListener.handleEvent*r at https://example.com/wp/wp-includes/js/dist
 /dom-ready.min.js?ver=ecda74de0221e1c2ce5c57cbb5af09d5:2:1121
 @https://example.com/wp/wp-admin/site-editor.php:2200:4

 }}}

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


More information about the wp-trac mailing list