It sounds to me like something from a theme that got a bit tangled somehow, honestly.
If you can verify that it is related to the theme and if you’re interested in helping out the theme developers who created the theme, it would be nice to take a screenshot and send it to them and make sure to mention your WordPress and the theme’s version as that’s helpful info. First try switching to another theme as a test though, just to make sure.
Regarding the “Add New Post results in blank page” issue, I tested adding a new post in my test site just now and I didn’t see a blank page but I may have a different setup compared to you. In my test, I used WordPress 5.8 and the Storefront 3.7.0 theme (because I already had that one installed). I think you should try temporarily switching to one of the official themes like Twenty Twenty-One then try refreshing the browser view so you can try again. If that doesn’t help, also try temporarily disabling plugins which might be causing a conflict. This will help uncover any conflicts in those areas, which can happen! People tend to forget how many different people contribute different code in different ways when they install themes and plugins.
This isnt helping. Ihave tried everything you mention cause i’m also facing the same problem but nothing is working. Right now it showing blank and i’m seeing some issues when debug is on but can’t find a solutiong anywhere.
I am also having the same problem. I don’t think that it is down to the theme used as I activated the ‘2021’ theme and I still have a blank screen for “Add new post” (it includes editing existing posts and affects posts too)
There are 8 errors reported on the page
Uncaught TypeError: components.min.js?ve...:10
[1,2,3,4,5,6].flatMap is not a function
at Module.SB3u (components.min.js?ve...:10)
at n (components.min.js?ve...:2)
at wp.components.+51k (components.min.js?ve...:2)
at components.min.js?ve...:2
Uncaught SyntaxError: Unexpected token { url.min.js:2
Uncaught TypeError: block-editor.min.js?...:12
Cannot read property 'SVG' of undefined
at Module.tr0p (block-editor.min.js?...:12)
at n (block-editor.min.js?...:2)
at wp.blockEditor.//Lo (block-editor.min.js?...:2)
at block-editor.min.js?...:2
Uncaught TypeError: block-library.min.js?...:23
Cannot read property 'withNotices' of undefined
at Module.K51g (block-library.min.js?...:23)
at o (block-library.min.js?...:2)
at wp.blockLibrary.1CF3 (block-library.min.js?...:2)
at block-library.min.js?...:2
Uncaught TypeError: editor.min.js?...:7
Cannot read property 'SETTINGS_DEFAULTS' of undefined
at Module.PLxR (editor.min.js?...:7)
at n (editor.min.js?...:7)
at wp.editor.16Al (editor.min.js?...:2)
at editor.min.js?...:2
Uncaught TypeError: edit-post.min.js?...:7
Cannot read property 'createSlotFill' of undefined
at Module.dSQ2 (edit-post.min.js?...:7)
at n (edit-post.min.js?...:2)
at wp.editPost.0dt7 (edit-post.min.js?...:2)
at edit-post.min.js?...:2
Uncaught TypeError: format-library.min.js?...:2
Cannot read property 'withSpokenMessages' of undefined
at Module.t1DA (format-library.min.js?...:2)
at c (format-library.min.js?...:2)
at wp.formatLibrary.1Yn1 (format-library.min.js?...:2)
at format-library.min.js?...:2
Uncaught TypeError: cannot read property post-new.php:1851
'initializeEditor' of undefined
at HTMLDocument.<anonymous> (post-new.php:1851)
-
This reply was modified 3 years ago by
roganty. Reason: forgot an error
-
This reply was modified 3 years ago by
James Huff.
*Bump*
Does anyone have any idea?
To get back to editing my posts I have had to install the Classic Editor plugin
It is not ideal as most of my posts are in the ‘new’ block style format