Conflict with featured image and other custom post type
-
Hi,
I’m having a serious conflict between NGG and plugins that register a custom post type (such as event) and support the featured image:
'supports' => array('title', 'thumbnail', 'editor')
When creating a new event and clicking the Featured Image box there’s this warning:
TypeError: Unable to get property 'ngg_post_thumbnail' of undefined or null reference at Anonymous function (my-domain/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/build/post-thumbnail.min.js?ver=3.2.2:1:13819) at n (my-domain/wp-includes/js/dist/data.min.js?ver=4.4.0:1:15085) at r (my-domain/wp-includes/js/dist/data.min.js?ver=4.4.0:1:15176) at Yf (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:67:40) at qg (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:302) at hi (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:104:223) at Qg (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:144:211) at Rg (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:145:74) at Sc (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:158:109) at Z (my-domain/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:156:492)
This even happens with a custom build plugin that only contains the necessary code.
So there must be a conflict with the
ngg_post_thumbnail
somehow..
I’m not the only one having this problem. Please check this thread as well.Can you please take a look at this?
Guido
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Conflict with featured image and other custom post type’ is closed to new replies.