• Resolved sufinawaz

    (@sufinawaz)


    Hi – I’m having issues with the plugin where clicking on “Add Media” on custom post types doesn’t pull up the media window. The issue is caused by java script errors as seen on the console.

    When I go to add a new Recipe (custom post type) in the editor, I see “Uncaught TypeError: Cannot read property ‘open’ of undefined” error in the console.

    When I click on “Add Media” on this page, I see “Uncaught TypeError: Cannot read property ‘hasClass’ of undefined” error in the console.

    This problem was not seen before updating to WP version 4.0. Currently, I’m using the latest version of this plugin (1.6.3). Please advise what I can do to resolve this issue.

    https://www.ads-software.com/plugins/custom-post-type-ui/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    sufinawaz, could you confirm that you’re in the right forum? The latest version of Custom Post Type UI is only 0.8.4, not 1.6.3. We also shouldn’t be having any effect on the add media areas of a custom post type editor screen.

    Thread Starter sufinawaz

    (@sufinawaz)

    My bad, you are correct. Thanks for your fast response, and sorry for the confusion.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    No worries, that happens sometimes ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clicking on "Add Media" throws javascript error in WP 4.0’ is closed to new replies.