Theme: edit page = white page after core update
-
I just updated to 5.3 and when I try to edit pages I get a whitescreen. I disabled all plugins but nothing changed. I changed themes to twentytwenty, problem fixed! so it is a theme issue, but why does my old theme not support page editing? How can I figure out where the problem is?
The page I need help with: [log in to see the link]
-
Hi,
have you tried enabling WP_DEBUG ?
To do that you need to open wp-config.php which is in the main directory and editdefine( ‘WP_DEBUG’, false );
to
define( ‘WP_DEBUG’, true );
Then instead of seeing white screen you should have some debug log.
still just a white screen but with these errors in the console:
Uncaught TypeError: Cannot set property ServerSideRender of #<Object> which has only a getter
at Module.369 (server-side-render.min.js:1)
at n (server-side-render.min.js:1)
at wp.serverSideRender.0 (server-side-render.min.js:1)
at server-side-render.min.js: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
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=2&action=edit:1864)
data.min.js:1 Uncaught (in promise) Error: Actions must be plain objects. Use custom middleware for async actions.
at v (data.min.js:1)
at data.min.js:1
at Object.dispatch (data.min.js:1)
at data.min.js:1
at w (data.min.js:1)
at Generator._invoke (data.min.js:1)
at Generator.t.<computed> [as next] (data.min.js:1)
at n (data.min.js:1)
at c (data.min.js:1)
at data.min.js:1
analysis-1251.min.js:21 Uncaught DOMException: Failed to execute ‘postMessage’ on ‘Worker’: function(t){var n=Xt(t),r=Qt(t),o=e(“core”).getEditedEntityRecord(“postType”,r,n);if(o){if(“function”==typeof o…<omitted>…”} could not be cloned.
at a.value (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/analysis-1251.min.js:21:1859866)
at a.value (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/analysis-1251.min.js:21:1859716)
at a.value (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/analysis-1251.min.js:21:1860220)
at t.default (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:5:106951)
at _.<anonymous> (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:5:118673)
at b (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:1:62253)
at x (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:1:62476)
at w (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:1:62366)
analysis-1251.min.js:21 Uncaught DOMException: Failed to execute ‘postMessage’ on ‘Worker’: function(t){var n=Xt(t),r=Qt(t),o=e(“core”).getEditedEntityRecord(“postType”,r,n);if(o){if(“function”==typeof o…<omitted>…”} could not be cloned.
at a.value (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/analysis-1251.min.js:21:1859866)
at a.value (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/analysis-1251.min.js:21:1859716)
at a.value (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/analysis-1251.min.js:21:1860220)
at t.default (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:5:106951)
at l.<anonymous> (https://www.benrothman.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:5:118673)
at b (https://www.asdf.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:1:62253)
at x (https://www.asdf.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:1:62476)
at w (https://www.asdf.org/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-1251.min.js:1:62366)
wp-seo-replacevar-plugin-1251.min.js:1 Uncaught TypeError: t.replace is not a function
at wp-seo-replacevar-plugin-1251.min.js:1
at t.exports (wp-seo-replacevar-plugin-1251.min.js:1)
at t.exports (wp-seo-replacevar-plugin-1251.min.js:1)
at f.replaceByStore (wp-seo-replacevar-plugin-1251.min.js:1)
at f.replaceVariables (wp-seo-replacevar-plugin-1251.min.js:1)
at wp-seo-post-scraper-1251.min.js:5
at t.exports (wp-seo-replacevar-plugin-1251.min.js:1)
at t.exports (wp-seo-replacevar-plugin-1251.min.js:1)
at e.value (wp-seo-post-scraper-1251.min.js:5)
at t.default (wp-seo-post-scraper-1251.min.js:5)btw I am able to edit pages np in other browsers so it is only in chrome (and yes I deactivated all browser extensions)
- This reply was modified 5 years ago by Ben Rothman.
thank you for the response!
I tried that and there are no errors showing on the screen but the console shows:
server-side-render.min.js:1 Uncaught TypeError: Cannot set property ServerSideRender of #<Object> which has only a getter
at Module.369 (server-side-render.min.js:1)
at n (server-side-render.min.js:1)
at wp.serverSideRender.0 (server-side-render.min.js:1)
at server-side-render.min.js:1
369 @ server-side-render.min.js:1
n @ server-side-render.min.js:1
wp.serverSideRender.0 @ server-side-render.min.js:1
(anonymous) @ server-side-render.min.js: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
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=2&action=edit:1810)
yo @ edit-post.min.js:6
(anonymous) @ post.php?post=2&action=edit:1810
data.min.js:1 Uncaught (in promise) Error: Actions must be plain objects. Use custom middleware for async actions.
at v (data.min.js:1)
at data.min.js:1
at Object.dispatch (data.min.js:1)
at data.min.js:1
at w (data.min.js:1)
at Generator._invoke (data.min.js:1)
at Generator.t.<computed> [as next] (data.min.js:1)
at n (data.min.js:1)
at c (data.min.js:1)
at data.min.js:1btw this problem only exists on chrome. Other browsers CAN edit pages. (yes I have the latest chrome version and yes I deactivated all browser extensions) . Why can’t chrome edit pages?
- This reply was modified 5 years ago by Ben Rothman.
- This reply was modified 5 years ago by Ben Rothman.
this was a corrupted chrome browser
- The topic ‘Theme: edit page = white page after core update’ is closed to new replies.