Issue: While opening the WordPress site a blank screen is coming with the following error in Chrome Dev Tools:
Unchecked runtime.lastError: The message port closed before a response was received. post-new.php:1 Unchecked runtime.lastError: The message port closed before a response was received. post-new.php:1 Unchecked runtime.lastError: The message port closed before a response was received. jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2 components.min.js:10 Uncaught SyntaxError: Unexpected end of input block-editor.min.js:2 Uncaught SyntaxError: Unexpected end of input block-library.min.js:9 Uncaught SyntaxError: Unexpected end of input editor.min.js:7 Uncaught SyntaxError: Unexpected end of input edit-post.min.js?ver=02d3a879f3ce2f428ef847364697ca76:7 Uncaught TypeError: Cannot read properties of undefined (reading 'createSlotFill') at Module.dSQ2 (edit-post.min.js?ver=02d3a879f3ce2f428ef847364697ca76:7:20979) at n (edit-post.min.js?ver=02d3a879f3ce2f428ef847364697ca76:2:146) at wp.editPost.0dt7 (edit-post.min.js?ver=02d3a879f3ce2f428ef847364697ca76:2:945) at edit-post.min.js?ver=02d3a879f3ce2f428ef847364697ca76:2:959 block-editor.js?ver=f1c16e2d5d5336930faacece2a00662b:63 Uncaught TypeError: Cannot read properties of undefined (reading 'withSpokenMessages') at Module.<anonymous> (block-editor.js?ver=f1c16e2d5d5336930faacece2a00662b:63:16426) at n (block-editor.js?ver=f1c16e2d5d5336930faacece2a00662b:1:110) at block-editor.js?ver=f1c16e2d5d5336930faacece2a00662b:1:902 at block-editor.js?ver=f1c16e2d5d5336930faacece2a00662b:1:913 format-library.min.js?ver=5179b7561f0153d3127cffc2fc6d4a26:2 Uncaught TypeError: Cannot read properties of undefined (reading 'withSpokenMessages') at Module.t1DA (format-library.min.js?ver=5179b7561f0153d3127cffc2fc6d4a26:2:10504) at n (format-library.min.js?ver=5179b7561f0153d3127cffc2fc6d4a26:2:151) at wp.formatLibrary.1Yn1 (format-library.min.js?ver=5179b7561f0153d3127cffc2fc6d4a26:2:950) at format-library.min.js?ver=5179b7561f0153d3127cffc2fc6d4a26:2:964 structured-data-blocks.js?ver=b05a0c6864bfdfe5fa1a28f3787fd65f:1 Uncaught TypeError: Cannot read properties of undefined (reading 'RichText') at Module.212 (structured-data-blocks.js?ver=b05a0c6864bfdfe5fa1a28f3787fd65f:1:3838) at s (structured-data-blocks.js?ver=b05a0c6864bfdfe5fa1a28f3787fd65f:1:110) at structured-data-blocks.js?ver=b05a0c6864bfdfe5fa1a28f3787fd65f:1:902 at structured-data-blocks.js?ver=b05a0c6864bfdfe5fa1a28f3787fd65f:1:913 post-new.php:317 Uncaught TypeError: Cannot read properties of undefined (reading 'initializeEditor') at HTMLDocument.<anonymous> (post-new.php:317:25) post-edit.js?ver=b7ecd25506ee120fef6841b22a49d361:5 Uncaught TypeError: window.yoast.initEditorIntegration is not a function
The reason might be that you have changed the theme or edited them recently. Solution is to clear your browser cache once to fix this issue by reloading the files from scratch in your browser.
Go to Network tab of Chrome Dev tools and check the “Disable cache” checkbox and reload the site.
The add / edit page of WordPress should load now and will no longer display the blank screen.