好像特定的主題會遇到這個情況

在編輯文章/頁面時使用古騰堡編輯器會報錯

如果複製錯誤訊息會出現

Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at Sh (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:152:165)
    at Qj (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:174:181)
    at unstable_runWithPriority (https://d2bag.com/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:24:26)
    at Za (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:8)
    at eb (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:170:163)
    at gf (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:162:317)
    at https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:230
    at unstable_runWithPriority (https://d2bag.com/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:24:26)
    at Za (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:8)
    at $g (https://d2bag.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:176)

目前解決方法有兩個

解決方法1 : 更換後台語言為English

解決方法2 : 更換不會報錯的主題

最後修改日期: 2022 年 6 月 21 日

作者