briuser123
Forum Replies Created
-
Hi Team,
I have created Custom post type as News. I have used the Gutenberg block editor for content added/updated in News post type.
Steps to publish the News Post
1. While I am publishing immediately the news post its working fine, but while scheduling the news for some future date then its throwing the error.“The editor has encountered an unexpected error.”
TypeError: Cannot read properties of undefined (reading ‘includes’)
/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:114006
/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:114076)
at yr (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:59475)
at vr (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:59273)
at js (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:121697)
at kl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88654)
at yl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88582)
at vl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88445)
at ol (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85269)
at cl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85656)Please suggest me any solution, how Can I fixed it.