• I recently updated to WordPress 5.3 and now I cannot edit any pages. When I click on a page or post, I get a blank page. Nothing loads. It does not help to use different browsers. My theme and all my plugins are up to date. Disabling all plugins does not resolve the issue.

    I followed the troubleshooting on https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/ and after completing Step 2 (Enable SCRIPT_DEBUG), I was able to resolve the issue. However, when I disable the Script Debug, the problem comes right back.

    When I do step 3 of this troubleshooting page (Ctrl + Shift + J), I get the following message:

    Uncaught TypeError: Object(…) is not a function
    at Module.341 (block-library.min.js:1)
    at n (block-library.min.js:1)
    at wp.blockLibrary.0 (block-library.min.js:1)
    at block-library.min.js:1

    Uncaught TypeError: Cannot read property ‘registerCoreBlocks’ of undefined
    at Module.yo (edit-post.min.js:1)
    at HTMLDocument.<anonymous> (post.php:2179)

    Unchecked runtime.lastError: The message port closed before a response was received.
    post.php?post=2154&action=edit:1

    Why does the debug only fix it for a period of time? I have two websites with identical themes and nearly identical plugins. The page editor of one works while the other doesn’t.

Viewing 4 replies - 16 through 19 (of 19 total)
  • Same here. Block editor returns blank page because of JS error:

    Uncaught TypeError: Object(...) is not a function
        at Module.341 (block-library.min.js:8)
        at n (block-library.min.js:1)
        at wp.blockLibrary.0 (block-library.min.js:1)
        at block-library.min.js:1
    
    edit-post.min.js:6 Uncaught TypeError: Cannot read property 'registerCoreBlocks' of undefined
        at Module.yo (edit-post.min.js:6)
        at HTMLDocument.<anonymous> (post.php?post=19&action=edit:3555)

    Doesn’t seem to have anything to do with plugins as the files recide in: wp-includes/js/dist. (have tried disabling all plugins still error persists).

    • This reply was modified 4 years, 4 months ago by jelixir.

    Having the same issue. Tried to disable all plugins but all the same.

    Console:

    JQMIGRATE: Migrate is installed, version 1.4.1
    block-library.min.js:8 Uncaught TypeError: Object(…) is not a function
    at Module.341 (block-library.min.js:8)
    at n (block-library.min.js:1)
    at wp.blockLibrary.0 (block-library.min.js:1)
    at block-library.min.js:1
    341 @ block-library.min.js:8
    n @ block-library.min.js:1
    wp.blockLibrary.0 @ block-library.min.js:1
    (anonymous) @ block-library.min.js:1
    deprecated.min.js:1 wp.editor.withColors is deprecated. Please use wp.blockEditor.withColors instead.
    c @ deprecated.min.js:1
    (anonymous) @ editor.min.js:11
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    deprecated.min.js:1 wp.editor.withFontSizes is deprecated. Please use wp.blockEditor.withFontSizes instead.
    c @ deprecated.min.js:1
    (anonymous) @ editor.min.js:11
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    t @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    (anonymous) @ blocks.build.js:1
    edit-post.min.js:6 Uncaught TypeError: Cannot read property ‘registerCoreBlocks’ of undefined
    at Module.yo (edit-post.min.js:6)
    at HTMLDocument.<anonymous> (post.php?post=1619&action=edit:2136)

    • This reply was modified 4 years, 4 months ago by iShr00m.

    I had the same issue when I moved from an Avada (Fusion Builder) site to Astra/Elementor. All pages I tried to edit where blank with the JS error.
    I switched to TwentyTwenty Theme, disabled all plugins and created a new page. That worked. After that I was able to edit older pages. Switched back to Astra and all plugins enabled. Works fine now.

    Gérald Mardirossian

    (@gerald-mardirossian)

    Hello, I have the same really annoying problem here.

    I am regretting updating to the last wordpress (everything was fine until i did that)

    As fard As I am concerned, there are some pages that I can still edit but some pages can”t be edited. Also if I try to create a new page, it is all white….

    Any solution ? Should I downgrade my wordpress ?

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Cannot edit pages after update to 5.3’ is closed to new replies.