• Resolved Michele

    (@msustudio)


    Custom post types that are Gutenberg enabled crash due to this javascript error. Plugin has to be inactive in order to edit these post types. Please advise on how to fix this issue. Or are there changes to be expected to that latest version to fix this?

    TypeError: Cannot read property ‘ngg_post_thumbnail’ of undefined
    at /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_block/static/build/post-thumbnail.min.js?ver=3.2.10:1:13830
    at n (/wp-includes/js/dist/data.min.js?ver=4.4.0:1:15092)
    at new r (/wp-includes/js/dist/data.min.js?ver=4.4.0:1:15359)
    at Yf (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:67:42)
    at qg (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:302)
    at hi (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:104:285)
    at Qg (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:144:217)
    at Rg (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:145:76)
    at Sc (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:158:109)
    at Z (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:156:492)

    • This topic was modified 6 years, 9 months ago by Michele.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @msustudio

    We are happy to help.
    Let’s try to isolate the problem and check is the problem is only when NextGen Gallery is active.

    1.- Temporarily deactivate all your plugins except NextGen Gallery.

    2.- Is the problem solved? Then, it was caused by one of your plugins. Please check one by one and find the one causing the problem.

    3.- If the problem is not solved with the deactivation of the plugins, try changing to a standard WordPress theme, it could be a conflict with your current theme.

    Please let us know how it goes.

    Thread Starter Michele

    (@msustudio)

    I deactivated all plugins and changed the theme to twentynineteen. Gutenberg Custom Post Types still does not work with the NextGen Gallery.

    Hi
    I am also having this issue. I’ve reached out to my theme developer, and their response:

    “NextGen ought to work with any custom post type out of the box. I recommend reporting this to NextGen to ask them if there is a bug and if they say that our plugin is causing the issue then we will look into it.”

    I’ve gone through the usual deactivate routine, and only when Nextgen is deactivated can I edit the theme’s custom posts

    Is there something I can tell them to look at? Our site is Gutenburg-enabled and the theme is using some custom post types to serve up information.

    Thank you @msustudio,

    We need to take some notes and escalate this conflict with CPT to our developers
    We may need to deactivate plugins and switch the theme while troubleshooting temporarily. Would you feel OK with that?. If so, please report this issue as a bug using this form: https://www.imagely.com/report-bug/. Be as specific as possible and let them know Gaby referred you.

    Note: do not forget to include this forum’s link.
    Many thanks!

    @callerpatty, thank you for sharing.
    We do ask if possible have individual threads for each case, sometimes it’s not the same problem due to the different combinations of plugins and themes available in WordPress.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CPT & Gutenberg Javascript error’ is closed to new replies.