我仍然在控制台上收到这些错误,并且浏览器上显示白屏。如果我禁用古腾堡编辑器,页面可以正常工作。
我也在我的其他网站上使用 6.4.3 版本,在同一台服务器上没有问题。
private-apis.min.js?ver=11cb2ebaa70a9f1f0ab5:2 Uncaught Error: You tried to opt-in to unstable APIs as module "@wordpress/patterns". This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will be removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on one of the next WordPress releases.
at s (private-apis.min.js?ver=11cb2ebaa70a9f1f0ab5:2:912)
at patterns.min.js?ver=efcce5c1b2c28e8b2865:2:2095
at patterns.min.js?ver=efcce5c1b2c28e8b2865:2:8848
s @ private-apis.min.js?ver=11cb2ebaa70a9f1f0ab5:2
(anonymous) @ patterns.min.js?ver=efcce5c1b2c28e8b2865:2
(anonymous) @ patterns.min.js?ver=efcce5c1b2c28e8b2865:2
16:00:57.640 react-dom.min.js?ver=18.2.0:10 TypeError: Cannot read properties of undefined (reading 'ReusableBlocksMenuItems')
at editor.min.js?ver=5abe10197275cf7808ee:12:144597
at wt (react-dom.min.js?ver=18.2.0:10:47637)
at vr (react-dom.min.js?ver=18.2.0:10:56452)
at js (react-dom.min.js?ver=18.2.0:10:121453)
at wl (react-dom.min.js?ver=18.2.0:10:88659)
at bl (react-dom.min.js?ver=18.2.0:10:88587)
at yl (react-dom.min.js?ver=18.2.0:10:88450)
at il (react-dom.min.js?ver=18.2.0:10:85274)
at fl (react-dom.min.js?ver=18.2.0:10:85661)
at Nn (react-dom.min.js?ver=18.2.0:10:32474)
ar @ react-dom.min.js?ver=18.2.0:10
t.callback @ react-dom.min.js?ver=18.2.0:10
tt @ react-dom.min.js?ver=18.2.0:10
Jr @ react-dom.min.js?ver=18.2.0:10
Zr @ react-dom.min.js?ver=18.2.0:10
Gr @ react-dom.min.js?ver=18.2.0:10
(anonymous) @ react-dom.min.js?ver=18.2.0:10
xl @ react-dom.min.js?ver=18.2.0:10
fl @ react-dom.min.js?ver=18.2.0:10
Nn @ react-dom.min.js?ver=18.2.0:10
(anonymous) @ react-dom.min.js?ver=18.2.0:10
setTimeout (async)
s @ data.min.js?ver=dc5f255634f3da29c8d5:2
i @ data.min.js?ver=dc5f255634f3da29c8d5:2
(anonymous) @ edit-post.min.js?ver=6720d8a86f225f3ce492:7
(anonymous) @ data.min.js?ver=dc5f255634f3da29c8d5:9
__unstableMarkListeningStores @ data.min.js?ver=dc5f255634f3da29c8d5:2
(anonymous) @ data.min.js?ver=dc5f255634f3da29c8d5:2
l @ data.min.js?ver=dc5f255634f3da29c8d5:9
(anonymous) @ data.min.js?ver=dc5f255634f3da29c8d5:9
ze @ data.min.js?ver=dc5f255634f3da29c8d5:9
Je @ data.min.js?ver=dc5f255634f3da29c8d5:9
ja @ edit-post.min.js?ver=6720d8a86f225f3ce492:7
wt @ react-dom.min.js?ver=18.2.0:10
js @ react-dom.min.js?ver=18.2.0:10
wl @ react-dom.min.js?ver=18.2.0:10
bl @ react-dom.min.js?ver=18.2.0:10
yl @ react-dom.min.js?ver=18.2.0:10
ol @ react-dom.min.js?ver=18.2.0:10
v @ react.min.js?ver=18.2.0:10
ce @ react.min.js?ver=18.2.0:10
16:00:57.640 react-dom.min.js?ver=18.2.0:10 Uncaught TypeError: Cannot read properties of undefined (reading 'ReusableBlocksMenuItems')
at editor.min.js?ver=5abe10197275cf7808ee:12:144597
at wt (react-dom.min.js?ver=18.2.0:10:47637)
at vr (react-dom.min.js?ver=18.2.0:10:56452)
at js (react-dom.min.js?ver=18.2.0:10:121453)
at wl (react-dom.min.js?ver=18.2.0:10:88659)
at bl (react-dom.min.js?ver=18.2.0:10:88587)
at yl (react-dom.min.js?ver=18.2.0:10:88450)
at il (react-dom.min.js?ver=18.2.0:10:85274)
at fl (react-dom.min.js?ver=18.2.0:10:85661)
at Nn (react-dom.min.js?ver=18.2.0:10:32474)
(anonymous) @ editor.min.js?ver=5abe10197275cf7808ee:12
wt @ react-dom.min.js?ver=18.2.0:10
vr @ react-dom.min.js?ver=18.2.0:10
js @ react-dom.min.js?ver=18.2.0:10
wl @ react-dom.min.js?ver=18.2.0:10
bl @ react-dom.min.js?ver=18.2.0:10
yl @ react-dom.min.js?ver=18.2.0:10
il @ react-dom.min.js?ver=18.2.0:10
fl @ react-dom.min.js?ver=18.2.0:10
Nn @ react-dom.min.js?ver=18.2.0:10
(anonymous) @ react-dom.min.js?ver=18.2.0:10
setTimeout (async)
s @ data.min.js?ver=dc5f255634f3da29c8d5:2
i @ data.min.js?ver=dc5f255634f3da29c8d5:2
(anonymous) @ edit-post.min.js?ver=6720d8a86f225f3ce492:7
(anonymous) @ data.min.js?ver=dc5f255634f3da29c8d5:9
__unstableMarkListeningStores @ data.min.js?ver=dc5f255634f3da29c8d5:2
(anonymous) @ data.min.js?ver=dc5f255634f3da29c8d5:2
l @ data.min.js?ver=dc5f255634f3da29c8d5:9
(anonymous) @ data.min.js?ver=dc5f255634f3da29c8d5:9
ze @ data.min.js?ver=dc5f255634f3da29c8d5:9
Je @ data.min.js?ver=dc5f255634f3da29c8d5:9
ja @ edit-post.min.js?ver=6720d8a86f225f3ce492:7
wt @ react-dom.min.js?ver=18.2.0:10
js @ react-dom.min.js?ver=18.2.0:10
wl @ react-dom.min.js?ver=18.2.0:10
bl @ react-dom.min.js?ver=18.2.0:10
yl @ react-dom.min.js?ver=18.2.0:10
ol @ react-dom.min.js?ver=18.2.0:10
v @ react.min.js?ver=18.2.0:10
ce @ react.min.js?ver=18.2.0:10
16:00:57.731 plugin.min.js?ver=49110-20201110:1 Deprecated TinyMCE API call: <target>.onNodeChange.add(..)
我安装了古腾堡插件,问题就解决了。