Broken Post / Page Pages
-
I am running into a situation where editing / creating a new post or page goes into a blank screen with lots of javascript errors in the console. The errors are random but mostly React errors. The error doesn’t happen right away after deployment, takes a couple of hours or a day for the page to break (there is no change to the page during that duration). The only way to fix the issue is to rollback to a previous deployment and redeploy the current deployment.
There is no log of error on the server side (no memory issue, etc). I am using WordPress 5.7.0 docker image to spin up the website. I also don’t have any caching plugin or caching on any level.
Some of the examples of error are
Cannot read properties of undefined (reading 'mark') Cannot read properties of undefined (reading 'languageProcessing') Cannot read properties of undefined (reading 'helpers') undefined is not an object (evaluating 'window.yoast.editorModules.analysis') undefined is not an object (evaluating 'i.SETTINGS_DEFAULTS')
What I have tried so far?
* I have tried all options mentioned on other forums of using Health Check Plugin, disabling plugins and themes – that didn’t help.
* I tried installing Classic Editor, activating it and that did help load the page but its not Gutenberg Editor plus remember the page doesn’t fail for some time after deployment. Is there some sort of memory leak that the Gutenberg editor is causing? In that case there should be some error log on server side, which we don’t see.
- The topic ‘Broken Post / Page Pages’ is closed to new replies.