Suddenly, I cannot add or edit Custom Posts

[ad_1]

I have two Custom Post types both are simple, and not different to classic post. I just use them to make separation of content.

All was right until suddenly today I cannot get into editing one of the Custom Posts type using block Editor.

Editing Standard Posts, Pages and other Custom Posts works fine. It is just this one Custom Post type is failing.

Once I enter in Add New or Edit option, editor is loaded and post displayed properly and then warning pops up: “The editor has encountered an unexpected error.”

I have options to copy post text and copy error.

Copy Post Text shows wrong Post, not the one I opened and one that was displayed moment before break.

Copy Error shows this:

@https://www.uzice.net/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:101244
f@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:9:2072
l@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:2:19683
be/v/</<@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:2:20176
Je/</<@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:9:2223
p@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:9:2121
Je/<@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:9:2215
$e@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:9:2644
Be@https://www.uzice.net/wp-includes/js/dist/data.min.js?ver=90cebfec01d1a3f0368e:9:2964
Ni@https://www.uzice.net/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:101069
kt@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47633
js@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:120746
kl@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88656
yl@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88584
vl@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88445
ol@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85269
cl@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85656
zn@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32470
n/al/<@https://www.uzice.net/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:83221

When I edit problematic Custom Post Types post in Classic editor it works ok.

No error logs are recorded.

How can I investigate what may be an issue?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer