[wp-trac] [WordPress Trac] #45341: WSOD when editing a page (Issue introduced between v5Beta3 and v5Beta4)

WordPress Trac noreply at wordpress.org
Wed Nov 28 04:30:21 UTC 2018


#45341: WSOD when editing a page (Issue introduced between v5Beta3 and v5Beta4)
--------------------------------------+------------------------------
 Reporter:  timhibberd                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Editor                    |     Version:  5.0
 Severity:  critical                  |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:
--------------------------------------+------------------------------

Comment (by timhibberd):

 There seems to be an improvement in 5.0-RC1-43945 but the WSOD still
 exists.

 Using Twenty-Nineteen theme. latest Firefox and no plug-ins enabled in
 docker container under Docker for Windows.

 I can now add and edit pages but if I open the FireFox debugger the edit
 page fails every time with random but repeatable errors (see below).

 Based on experience if the software works when the debugger is off and
 fails when the debugger is on then the problem is race conditions.

 {{{
 15:21:14.544 SyntaxError: unexpected token: identifier[Learn More]
 components.js:23536:33
 15:21:14.634 SyntaxError: missing ( before formal parameters
 editor.js:19884:69
 15:21:14.654 TypeError: external_this_wp_components_ is undefined[Learn
 More] block-library.js:1515:5
 15:21:14.669 TypeError: external_this_wp_components_ is undefined[Learn
 More] edit-post.js:1113:5
 15:21:14.675 TypeError: external_this_wp_components_ is undefined[Learn
 More] format-library.js:1162:34
 15:21:14.865 TypeError: wp.editPost is undefined[Learn More]
 post.php:1732:4
 }}}

 Then refresh and:

 {{{
 15:24:28.534 SyntaxError: illegal character[Learn More] editor.js:20294:23
 15:24:28.554 TypeError: Object(...) is not a function[Learn More] block-
 library.js:1740:67
 15:24:28.575 TypeError: Object(...)(...) is undefined[Learn More] edit-
 post.js:2102:16
 15:24:28.684 TypeError: wp.editPost is undefined[Learn More]
 post.php:1729:4
 }}}

 Then refresh and:

 {{{
 15:25:41.188 SyntaxError: missing } after property list[Learn More]
 editor.js:20332:20 note: { opened at line 20331, column
 92editor.js:20331:92
 15:25:41.209 TypeError: Object(...) is not a function[Learn More] block-
 library.js:1740:67
 15:25:41.227 TypeError: Object(...)(...) is undefined[Learn More] edit-
 post.js:2102:16
 15:25:41.342 TypeError: wp.editPost is undefined[Learn More]
 post.php:1729:4
 }}}

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


More information about the wp-trac mailing list