• Resolved mibrenner

    (@mibrenner)


    Hello,

    I recently upgraded to CPT 1.0.4 and noticed an Uncaught TypeError: undefined is not a function error with cptui.js on line 3. I’m getting this error on all the pages of /wp-admin/

    Looks like it’s breaking at:

    $( "#cptui_accordion" ).accordion({ collapsible: true, heightStyle: 'fill', active: 2 });

    https://wordpress.org/plugins/custom-post-type-ui/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mibrenner

    (@mibrenner)

    It turns out that the Use Google Libraries plugin caused the conflict with CPT. I’m guessing it had to do with mixed up versions. I’ve since removed UGL plugin.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Probably a conflict in how they’re loaded. Not sure they’re using something like wp_enqueue_scripts or so, which may have bypassed the sources being compared.

    Oh well, at least you figured out the issue and a resolution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError: undefined is not a function on cptui.js’ is closed to new replies.