Error with custom post type registration after plugin update
-
I updated the plugin to the latest version yesterday. When editing a custom post, I get a fatal WP error.
TypeError: Cannot read property ‘_editorskit_title_hidden’ of undefined
at eval (webpack-internal:///149:126:35)
at n.value (http://{domainnameredacted}/wp-includes/js/dist/data.min.js?ver=4.4.0:1:17311)
at new n (http://{domainnameredacted}/wp-includes/js/dist/data.min.js?ver=4.4.0:1:16984)
at Yf (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:67:42)
at qg (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:302)
at hi (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:104:285)
at Qg (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:144:217)
at Rg (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:145:76)
at Sc (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:158:109)
at Z (http://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:156:492)I determined that the bug was related to the custom post type registration. I use Custom Post Type UI and I had to check “supports custom fields” for those post types where it was previously not checked.
The topic ‘Error with custom post type registration after plugin update’ is closed to new replies.