White screen stuck when I edit some posts
-
My problem has been going on for more or less a year. But I’ve been putting it off, I’ve been putting it off, putting it off, putting it off… But I can’t put it off anymore.
When I edit some posts on my blog, WordPress stays on a white screen. A white screen that I can only get out of by pressing the browser’s back button.
I found out that it was the PublishPress Blocks plugin by deactivating all of them one by one. The white screen glitch only goes away when I disable the PublishPress Blocks plugin.
Disabling this plugin could be a partial, temporary and botched solution every time I need to update a “conflicting” post. But it is not a solution because the blocks in this post appear as an error and, if what I want to modify is right inside these erroneous blocks, it is inaccessible to me for modification.
How can i fix this? Because the truth is that I like the plugin a lot, but every time it raises conflicts in more posts.
Browsers tested: Chrome on desktop and mobile, Opera desktop, and Brave desktop.
PHP version: 7.4 (this already happened to me with previous versions).
Wordpress version: 6.1.1 (same).
-
Hi @laguntzaweb
White screen is not helpful information. I know it disappear when you deactivated PublishPress Blocks. But, have you tried deactivate all plugins except PublishPress Blocks? How is the outcome, does the issue still persists?
The reason we ask is because we can’t see the issue in our test site even with the same details. That being said, maybe other plugins also take a part of this behaviour.
Effectively I tried. As I mentioned yesterday, that blocked white screen appears with absolutely all plugins disabled, except PublishPress Blocks.
By a white screen I mean this white screen in the browser:
https://gyazo.com/516d87f20d789448f13c36faa97bc920That’s quite strange. What PublishPress Block version are you using?
It’s the 3.1.1 version.
https://gyazo.com/cff1f74cafeca62ef04cb3fddd5b7b3e@laguntzaweb Did you see any error in browser console?
The Google Chrome console tells me this:
Reloading editor by PublishPress Blocks plugin
blocks.min.js?ver=69022aed79bfd45b3b1d:10 Updated Block: core/spacer
blocks.min.js?ver=69022aed79bfd45b3b1d:10 Updated Block: core/spacer
blocks.min.js?ver=69022aed79bfd45b3b1d:10 Updated Block: core/cover
blocks.min.js?ver=69022aed79bfd45b3b1d:10 Updated Block: core/spacer
react-dom.min.js?ver=17.0.1:141 ReferenceError: align is not defined
at save (blocks.js?ver=3.1.1:28551:54)
at Cr (blocks.min.js?ver=69022aed79bfd45b3b1d:10:4323)
at xr (blocks.min.js?ver=69022aed79bfd45b3b1d:10:4704)
at blocks.min.js?ver=69022aed79bfd45b3b1d:10:33666
at Rn (blocks.min.js?ver=69022aed79bfd45b3b1d:10:33782)
at blocks.min.js?ver=69022aed79bfd45b3b1d:10:35230
at Un (blocks.min.js?ver=69022aed79bfd45b3b1d:10:35456)
at blocks.min.js?ver=69022aed79bfd45b3b1d:10:34656
at Array.map ()
at Un (blocks.min.js?ver=69022aed79bfd45b3b1d:10:34648)
Ye @ react-dom.min.js?ver=17.0.1:141
Mh.c.callback @ react-dom.min.js?ver=17.0.1:141
dh @ react-dom.min.js?ver=17.0.1:80
Bj @ react-dom.min.js?ver=17.0.1:145
Qj @ react-dom.min.js?ver=17.0.1:176
unstable_runWithPriority @ react.min.js?ver=17.0.1:24
Za @ react-dom.min.js?ver=17.0.1:73
eb @ react-dom.min.js?ver=17.0.1:170
gf @ react-dom.min.js?ver=17.0.1:162
(anonymous) @ react-dom.min.js?ver=17.0.1:73
unstable_runWithPriority @ react.min.js?ver=17.0.1:24
Za @ react-dom.min.js?ver=17.0.1:73
$g @ react-dom.min.js?ver=17.0.1:73
ja @ react-dom.min.js?ver=17.0.1:73
Pa @ react-dom.min.js?ver=17.0.1:157
Me @ react-dom.min.js?ver=17.0.1:110
e @ data.min.js?ver=d8cf5b24f99c64ae47d6:9
t @ data.min.js?ver=d8cf5b24f99c64ae47d6:9
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
p @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ redux-routine.min.js?ver=c9ea6c0df793258797e6:9
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ core-data.min.js?ver=d8d458b31912f858bcdf:2
await in (anonymous) (async)
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ redux-routine.min.js?ver=c9ea6c0df793258797e6:9
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
ie @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
setTimeout (async)
a @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
i @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ edit-post.min.js?ver=2baffbeec6cbe5171dee:7
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:9
l @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:9
Ke @ data.min.js?ver=d8cf5b24f99c64ae47d6:9
vo @ edit-post.min.js?ver=2baffbeec6cbe5171dee:7
Le @ react-dom.min.js?ver=17.0.1:100
Pj @ react-dom.min.js?ver=17.0.1:231
di @ react-dom.min.js?ver=17.0.1:168
Nj @ react-dom.min.js?ver=17.0.1:168
sc @ react-dom.min.js?ver=17.0.1:168
gf @ react-dom.min.js?ver=17.0.1:162
Pa @ react-dom.min.js?ver=17.0.1:157
yd @ react-dom.min.js?ver=17.0.1:188
(anonymous) @ react-dom.min.js?ver=17.0.1:191
bi @ react-dom.min.js?ver=17.0.1:163
zd @ react-dom.min.js?ver=17.0.1:191
M.render @ react-dom.min.js?ver=17.0.1:243
Po @ edit-post.min.js?ver=2baffbeec6cbe5171dee:7
(anonymous) @ post.php?post=3106&action=edit:519
DevTools failed to load source map: Could not load content for chrome-extension://eakacpaijcpapndcfffdgphdiccmpknp/scripts/content_page.map: System error: net::ERR_BLOCKED_BY_CLIENT
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/plugins/advanced-gutenberg/assets/blocks/pro-ad.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
deprecated.min.js?ver=6c963cb9494ba26b77eb:2wp.data.select( 'core/editor' ).getBlocks
is deprecated since version 5.3 and will be removed in version 6.2. Please usewp.data.select( 'core/block-editor' ).getBlocks
instead.
i @ deprecated.min.js?ver=6c963cb9494ba26b77eb:2
(anonymous) @ editor.min.js?ver=c9102d37531f38da0681:12
t @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
r @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ block-editor-script.js?ver=3.9.1:148
setTimeout (async)
(anonymous) @ block-editor-script.js?ver=3.9.1:34
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
n @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
emit @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
u @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
p @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ redux-routine.min.js?ver=c9ea6c0df793258797e6:9
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
handleEditorChange @ block-editor.js?ver=a105df9ce8fd0357c025b70d5a57dbb1:447
refreshYoastSEO @ block-editor.js?ver=a105df9ce8fd0357c025b70d5a57dbb1:447
e @ lodash.min.js?ver=4.17.19:87
c @ lodash.min.js?ver=4.17.19:88
f @ lodash.min.js?ver=4.17.19:88
setTimeout (async)
Ws @ lodash.min.js?ver=4.17.19:116
f @ lodash.min.js?ver=4.17.19:88
setTimeout (async)
Ws @ lodash.min.js?ver=4.17.19:116
u @ lodash.min.js?ver=4.17.19:87
s @ lodash.min.js?ver=4.17.19:88
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
n @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
emit @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
u @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
p @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ redux-routine.min.js?ver=c9ea6c0df793258797e6:9
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ data.min.js?ver=d8cf5b24f99c64ae47d6:2
(anonymous) @ post-edit.js?ver=7f77c09ec7bf9430d3452eb570148a7c:1
(anonymous) @ post-edit.js?ver=7f77c09ec7bf9430d3452eb570148a7c:1
(anonymous) @ post-edit.js?ver=7f77c09ec7bf9430d3452eb570148a7c:1
ae @ post-edit.js?ver=7f77c09ec7bf9430d3452eb570148a7c:1
(anonymous) @ post-edit.js?ver=7f77c09ec7bf9430d3452eb570148a7c:11
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/plugins/advanced-gutenberg/assets/blocks/block-controls.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/plugins/advanced-gutenberg/assets/blocks/post-sidebar.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/plugins/advanced-gutenberg/assets/blocks/editor.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/themes/astra/inc/metabox/extend-metabox/build/index.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/plugins/advanced-gutenberg/assets/blocks/custom-styles.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://laguntzaweb.com/wp-content/plugins/advanced-gutenberg/assets/blocks/blocks.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILUREAnother test that I have done has been to change the theme and try to edit that post, but the WordPress blank error persists.
Hi @laguntzaweb,
by chance are you using Gutenberg plugin?Regards
Hello. I am not using the Gutenberg plugin, as I use the native Gutenberg that comes with WordPress 6.1.1.
- Please deactivate PublishPress Blocks
- Edit one of the posts/pages where the issue is happening
- Copy the HTML from code editor – see this screenshot
- Share the code in a pastebin.com link
- In addition, please mention all the plugins installed in your site
This may help us to reproduce the issue in our end.
Thank you for your help and the time you spend to solve this problem.
This is the pastebin of the page that gives me problems. Publishpress Blocks is disabled there: https://pastebin.com/8mTn4wFE
Although I have tried to deactivate all the plugins, to leave only Publishpress Blocks, these are the other plugins that I use on that website:
- AddToAny Share Buttons
- Advanced WordPress Backgrounds
- Akismet Anti-Spam
- Asset CleanUp: Page Speed Booster
- Broken Link Checker
- Contact Form 7
- Duplicate Page
- Easy Google Fonts
- Editor Full Width Gutenberg
- Flamingo
- Font Awesome
- Forget About Shortcode Buttons
- Honeypot for Contact Form 7
- Join.chat
- Limit Attempts by BestWebSoft
- Matomo Analytics – Estadísticas éticas. Insigths potentes.
- Menu Image
- Metricool
- Print, PDF & Email by PrintFriendly
- Shortcodes Ultimate
- Simple 301 Redirects
- Simple Lightbox
- Social Icons Widget & Block by WPZOOM
- Sucuri Security – Auditing, Malware Scanner and Hardening
- UpdraftPlus – Backup/Restore
- W3 Total Cache
- Wordfence Security
- WPFront ScrollTop
- WPS Hide Login
- Yoast SEO
Thanks! It seems the Table of contents instance is broken. It may apply to other contents.
- Please remove Table of Contents block code with PublishPress Blocks deactivated, and save post changes.
- Activate PublishPress Blocks and add again a Table of Contents block through the blocks insert https://ibb.co/Z6pH1g7
Following these tips I have managed to enter the post, make changes directly in the HTML blocks and update that section.
Thank you very much for your time and patience.
We are happy to help, @laguntzaweb !
- The topic ‘White screen stuck when I edit some posts’ is closed to new replies.