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 (https://{domainnameredacted}/wp-includes/js/dist/data.min.js?ver=4.4.0:1:17311)
at new n (https://{domainnameredacted}/wp-includes/js/dist/data.min.js?ver=4.4.0:1:16984)
at Yf (https://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:67:42)
at qg (https://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:302)
at hi (https://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:104:285)
at Qg (https://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:144:217)
at Rg (https://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:145:76)
at Sc (https://{domainnameredacted}/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:158:109)
at Z (https://{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.