WordPress.org

Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

#50997 closed defect (bug) (invalid)

Block Editor showing blank in WordPress 5.5

Reported by: david-woakes Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Editor Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I've disabled all plugins but and this still happens. It happens in Chrome and Firefox (latest version of both browsers).

In the developer plugin I can see the following CSP errors

Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    441 https://www.shbforum.co.uk/wp-includes/js/dist/blocks.min.js?ver=e817d20512a049ea38d1e1f22097be1f:3
    r https://www.shbforum.co.uk/wp-includes/js/dist/blocks.min.js?ver=e817d20512a049ea38d1e1f22097be1f:2
    blocks https://www.shbforum.co.uk/wp-includes/js/dist/blocks.min.js?ver=e817d20512a049ea38d1e1f22097be1f:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/blocks.min.js?ver=e817d20512a049ea38d1e1f22097be1f:2
data.min.js:2:4301
Uncaught TypeError: wp.blocks is undefined
    <anonymous> https://www.shbforum.co.uk/wp-admin/post.php?post=588&action=edit:108
post.php:108:1
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    440 https://www.shbforum.co.uk/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:7
    r https://www.shbforum.co.uk/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:2
    richText https://www.shbforum.co.uk/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/rich-text.min.js?ver=a4056cfcb2aec8ceb3c8e8935dfd0bc4:2
data.min.js:2:4301
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    a https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    $ https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    registerStore https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    registerStore https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    b https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    456 https://www.shbforum.co.uk/wp-includes/js/dist/keyboard-shortcuts.min.js?ver=9cbe52add50401a0e626ebfcb37d742a:2
    n https://www.shbforum.co.uk/wp-includes/js/dist/keyboard-shortcuts.min.js?ver=9cbe52add50401a0e626ebfcb37d742a:2
    keyboardShortcuts https://www.shbforum.co.uk/wp-includes/js/dist/keyboard-shortcuts.min.js?ver=9cbe52add50401a0e626ebfcb37d742a:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/keyboard-shortcuts.min.js?ver=9cbe52add50401a0e626ebfcb37d742a:2
data.min.js:2:4301
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    a https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    $ https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    registerStore https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    registerStore https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    b https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    455 https://www.shbforum.co.uk/wp-includes/js/dist/notices.min.js?ver=e8ba84906787f0394f07956c137fc314:2
    r https://www.shbforum.co.uk/wp-includes/js/dist/notices.min.js?ver=e8ba84906787f0394f07956c137fc314:2
    notices https://www.shbforum.co.uk/wp-includes/js/dist/notices.min.js?ver=e8ba84906787f0394f07956c137fc314:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/notices.min.js?ver=e8ba84906787f0394f07956c137fc314:2
data.min.js:2:4301
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    a https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    $ https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    registerStore https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    registerStore https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    b https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    454 https://www.shbforum.co.uk/wp-includes/js/dist/viewport.min.js?ver=74fa211298bad8b930c1e9c17d583843:2
    n https://www.shbforum.co.uk/wp-includes/js/dist/viewport.min.js?ver=74fa211298bad8b930c1e9c17d583843:2
    viewport https://www.shbforum.co.uk/wp-includes/js/dist/viewport.min.js?ver=74fa211298bad8b930c1e9c17d583843:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/viewport.min.js?ver=74fa211298bad8b930c1e9c17d583843:2
data.min.js:2:4301
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: function anonymous(r,s,a
) {
return {"blockTypes":r["blockTypes"](s["blockTypes"],a),"blockStyles":r["blockStyles"](s["blockStyles"],a),"blockVariations":r["blockVariations"](s["blockVariations"],a),"defaultBlockName":r["defaultBlockName"](s["defaultBlockName"],a),"freeformFallbackBlockName":r["freeformFallbackBlockName"](s["freeformFallbackBlockName"],a),"unregisteredFallbackBlockName":r["unregisteredFallbackBlockName"](s["unregisteredFallbackBlockName"],a),"groupingBlockName":r["groupingBlockName"](s["groupingBlockName"],a),"categories":r["categories"](s["categories"],a),"collections":r["collections"](s["collections"],a),}
}. data.min.js:2:4300
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: function anonymous(r,s,a
) {
return {"formatTypes":r["formatTypes"](s["formatTypes"],a),}
}. data.min.js:2:4300
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: function anonymous(r,s,a
) {
return {"metadata":r["metadata"](s["metadata"],a),"root":r["root"](s["root"],a),}
}. 3 data.min.js:2:4300
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    Hu Lodash
    blockEditor https://www.shbforum.co.uk/wp-includes/js/dist/block-editor.min.js?ver=6d92bbc61845b6652c64f83c59aee1f0:12
    n https://www.shbforum.co.uk/wp-includes/js/dist/block-editor.min.js?ver=6d92bbc61845b6652c64f83c59aee1f0:2
    blockEditor https://www.shbforum.co.uk/wp-includes/js/dist/block-editor.min.js?ver=6d92bbc61845b6652c64f83c59aee1f0:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/block-editor.min.js?ver=6d92bbc61845b6652c64f83c59aee1f0:2
data.min.js:2:4301
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    447 https://www.shbforum.co.uk/wp-includes/js/dist/core-data.min.js?ver=966113d894f354075b1eed5a141241bb:2
    r https://www.shbforum.co.uk/wp-includes/js/dist/core-data.min.js?ver=966113d894f354075b1eed5a141241bb:2
    coreData https://www.shbforum.co.uk/wp-includes/js/dist/core-data.min.js?ver=966113d894f354075b1eed5a141241bb:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/core-data.min.js?ver=966113d894f354075b1eed5a141241bb:2
data.min.js:2:4301
Uncaught TypeError: K is undefined
    436 https://www.shbforum.co.uk/wp-includes/js/dist/block-library.min.js?ver=e663e74b68c0a8539a9c2ae8bf4dfd07:29
    r https://www.shbforum.co.uk/wp-includes/js/dist/block-library.min.js?ver=e663e74b68c0a8539a9c2ae8bf4dfd07:2
    blockLibrary https://www.shbforum.co.uk/wp-includes/js/dist/block-library.min.js?ver=e663e74b68c0a8539a9c2ae8bf4dfd07:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/block-library.min.js?ver=e663e74b68c0a8539a9c2ae8bf4dfd07:2
block-library.min.js:29:59845
Uncaught TypeError: i is undefined
    438 https://www.shbforum.co.uk/wp-includes/js/dist/editor.min.js?ver=1b4e724c353c8156e7987cc825fcf6d6:12
    n https://www.shbforum.co.uk/wp-includes/js/dist/editor.min.js?ver=1b4e724c353c8156e7987cc825fcf6d6:2
    editor https://www.shbforum.co.uk/wp-includes/js/dist/editor.min.js?ver=1b4e724c353c8156e7987cc825fcf6d6:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/editor.min.js?ver=1b4e724c353c8156e7987cc825fcf6d6:2
editor.min.js:12:28196
Uncaught EvalError: call to Function() blocked by CSP
    t https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    exports https://www.shbforum.co.uk/wp-includes/js/dist/data.min.js?ver=75f90354ddff4acd5b0b4026454037ca:2
    Hu Lodash
    439 https://www.shbforum.co.uk/wp-includes/js/dist/edit-post.min.js?ver=c2b76a0494382d835bb3dbd6b0e2c934:7
    r https://www.shbforum.co.uk/wp-includes/js/dist/edit-post.min.js?ver=c2b76a0494382d835bb3dbd6b0e2c934:2
    editPost https://www.shbforum.co.uk/wp-includes/js/dist/edit-post.min.js?ver=c2b76a0494382d835bb3dbd6b0e2c934:2
    <anonymous> https://www.shbforum.co.uk/wp-includes/js/dist/edit-post.min.js?ver=c2b76a0494382d835bb3dbd6b0e2c934:2
data.min.js:2:4301
Uncaught TypeError: wp.richText is undefined
    <anonymous> https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/classic-paragraph.js?ver=5500:1
    o https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/classic-paragraph.js?ver=5500:1
    <anonymous> https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/classic-paragraph.js?ver=5500:1
    <anonymous> https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/classic-paragraph.js?ver=5500:1
classic-paragraph.js:1:1166
Uncaught TypeError: n.blockEditor is undefined
    <anonymous> https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/richtext-buttons.js?ver=5500:1
    o https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/richtext-buttons.js?ver=5500:1
    <anonymous> https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/richtext-buttons.js?ver=5500:1
    <anonymous> https://www.shbforum.co.uk/wp-content/plugins/tinymce-advanced/block-editor/richtext-buttons.js?ver=5500:1
richtext-buttons.js:1:1088
Uncaught TypeError: o is undefined
    jQuery 5
load-scripts.php:13:26279
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: function anonymous(r,s,a
) {
return {"byClientId":r["byClientId"](s["byClientId"],a),"attributes":r["attributes"](s["attributes"],a),"order":r["order"](s["order"],a),"parents":r["parents"](s["parents"],a),"controlledInnerBlocks":r["controlledInnerBlocks"](s["controlledInnerBlocks"],a),}
}. data.min.js:2:4300
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: function anonymous(r,s,a
) {
return {"items":r["items"](s["items"],a),"queries":r["queries"](s["queries"],a),}
}. data.min.js:2:4300
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). Source: function anonymous(r,s,a
) {
return {"panels":r["panels"](s["panels"],a),"features":r["features"](s["features"],a),"editorMode":r["editorMode"](s["editorMode"],a),"hiddenBlockTypes":r["hiddenBlockTypes"](s["hiddenBlockTypes"],a),"preferredStyleVariations":r["preferredStyleVariations"](s["preferredStyleVariations"],a),"localAutosaveInterval":r["localAutosaveInterval"](s["localAutosaveInterval"],a),}
}. data.min.js:2:4300
Uncaught TypeError: wp.editPost is undefined
    _wpLoadBlockEditor https://www.shbforum.co.uk/wp-admin/post.php?post=588&action=edit:278
    r https://www.shbforum.co.uk/wp-includes/js/dist/dom-ready.min.js?ver=db63eb2f693cb5e38b083946b14f0684:2
    _wpLoadBlockEditor https://www.shbforum.co.uk/wp-admin/post.php?post=588&action=edit:277
    <anonymous> https://www.shbforum.co.uk/wp-admin/post.php?post=588&action=edit:276
    <anonymous> https://www.shbforum.co.uk/wp-admin/post.php?post=588&action=edit:281
post.php:278:4

Change History (1)

#1 @SergeyBiryukov
5 weeks ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from critical to normal
  • Status changed from new to closed

Hi there, welcome to Trac! Thanks for the report.

I'm sorry to hear you are having issues with your website since the latest update, but this topic is best discussed on the support forums or directly with the developer of your theme or website.

Before heading there to create a post though, I recommend reading through the following list of potential issues with 5.5: https://wordpress.org/support/topic/read-this-first-wordpress-5-5-master-list/

The most likely issue is that a plugin on your site is running old JavaScript code. Could you try installing and activating this plugin: https://wordpress.org/plugins/enable-jquery-migrate-helper/.

This will confirm that there is JavaScript on your site that needs to be updated to follow more modern jQuery practices. You can leave the plugin active for the time being, but the breaking code will need to be updated before the next step of the Upgrading jQuery in Core roadmap.

If this does not fix the issue, feel free to create a support topic.

Note: See TracTickets for help on using tickets.