• Resolved eclipsedigital

    (@eclipsedigital)


    Hello
    Installed WordPress 6.0.2.
    No plugins.
    Twenty Twenty-Two Theme
    When I try to edit or create a new page I got many js errors on console:
    Uncaught TypeError: p is undefined block-editor.min.js
    Uncaught TypeError: E is undefined edit-post.min.js
    Uncaught TypeError: d is undefined format-library.js
    Uncaught TypeError: wp.editPost is undefined post-new.php

    No conflict with plugins : it’s a rough install.
    Is it a known issue ?
    Thanks for your help

    • This topic was modified 2 years, 5 months ago by Jan Dembowski.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    I’ve not heard of any such issue without any plugins active. The issue is script dependencies are not properly resolved. The problem could be due to a browser add-on. Try using your browser’s incognito mode to edit pages.

    It’s possible your installation became corrupted during an update. Try using the Re-install version 6.0.2 button on the updates admin screen.

    Thread Starter eclipsedigital

    (@eclipsedigital)

    Hello
    Thanks for your help.
    I try to re-install and nothing changed.
    Finally, I decided to erase and upload the dist folder (inside wp-includes which contains js files for block editor) from a wp localhost version that works fine and solved problem.
    Probably corrupted files during install.

    Moderator bcworkz

    (@bcworkz)

    You’re welcome. And thanks for reporting back. That’s interesting that re-install did not work, but manually replacing files did. Going forward, I’m no longer going to recommend the re-install button and go straight to recommending manual methods.

    Hello, I have the exact same issue!

    Go to pages > then edit the page I wish to edit and the a blank page (but the nav menu/dashboard menu still shows) Just a blank page where the block editor should be.

    How do I mimic your fix please? Are you saying I should install a vanilla 6.0.2 grab the Dist folder and copy that over to the broken 6.0.2 wordpress.

    Thanks in advance,

    Charlie

    Moderator bcworkz

    (@bcworkz)

    Hi Charlie, the OP basically did a manual update, except the “update” was to the same version. We’re essentially just refreshing all the files since some problem was encountered during the initial install. The OP had a good idea where the problem lay, so didn’t do a full “update”. But to be thorough, I recommend following all of the steps outlined in the link.

    Step 1 is important (get latest .zip). Obtain a fresh download even if you already have one. (from the blue Get WordPress button at upper right)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank page when adding or editing a new page (js errors)’ is closed to new replies.