We now have been working right into a bizarre problem the place we get WSOD on put up pages with bunch of react errors. This solely occurs after someday a deployment is completed. When the web page breaks, we rollback to a older model and redeploy the present model. The positioning change into steady after that till it breaks after someday (often a day). We use docker containers (WP 5.7.0) and K8s for container orchestration. We now have tried all the things that we will discover within the web resembling Turning off All plugins, Utilizing Default Themes, and many others. We have no caching. After that we have tried putting in Basic Editor plugin activating it and the frequency of error has decreased so it looks like the problem is coming from Gutenberg editor. We now have exhausted each different doable choices.
These are some instance of error messages we get :
TypeError: r will not be a operate
at https://ourcompany.com/wp-includes/js/dist/elements.min.js?ver=863b0e64189bf5cd6b5aced6797bc2d6:7:309054
at Bh (https://ourcompany.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:126:456)
at Dj (https://ourcompany.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:162:476)
at unstable_runWithPriority (https://ourcompany.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
at Da (https://ourcompany.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
at xb (https://ourcompany.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:162:231)
at mk.Occasions.present (https://ourcompany.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:236:102)
at Ei (https://ourcompany.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:41:59)
Can't learn properties of undefined (studying 'mark')
Can't learn properties of undefined (studying 'languageProcessing')
Can't learn properties of undefined (studying 'helpers')
undefined will not be an object (evaluating 'window.yoast.editorModules.evaluation')
undefined will not be an object (evaluating 'i.SETTINGS_DEFAULTS')
The block "core/paragraph" should have a title.
The block "core/image" should have a title.
Warning: React.createElement: sort is invalid -- anticipated a string (for built-in elements) or a category/operate (for composite elements) however received: undefined. You probably forgot to export your part from the file it is outlined in, otherwise you may need combined up default and named imports.
Uncaught Error: Ingredient sort is invalid: anticipated a string (for built-in elements) or a category/operate (for composite elements) however received: undefined. You probably forgot to export your part from the file it is outlined in, otherwise you may need combined up default and named imports. The above error occurred within the <Context.Supplier> part:
Uncaught (in promise) Error: Ingredient sort is invalid: anticipated a string (for built-in elements) or a category/operate (for composite elements) however received: undefined. You probably forgot to export your part from the file it is outlined in, otherwise you may need combined up default and named imports. Test the render technique of `Structure`.
Uncaught TypeError: Can't learn properties of undefined (studying 'mark')