• Resolved abacuspowers

    (@abacuspowers)


    Hello,
    I recently installed HTML5 jQuery Audio Player Pro v1.5 on a new project I am working on. I had purchased pro 1.3 a while back, had some problems with it and was on a fast-approaching deadline, so I didn’t use it on my last project. But, I am back at it, because it seems it has the least complicated installation/implementation and actually works most of the time. I had a conflict with another plugin, but was able to force that plugin to function in no-conflict mode.
    However, after installing the plugin on my wordpress 3.5 installation, the post/page editor is broken. The hyperlink button, add media, and text editor buttons are all non-functional. I have switched to default WP Twenty Twelve theme and am only running the HTML5 jquery Audio Player plugin and am still having the issue. So, it is not a conflict with any other plugin or my theme(s).
    I am getting this error message in the Error Console on firefox:

    Timestamp: 12/13/12 2:04:19 PM
    Error: TypeError: a is undefined
    Source File: https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=3.5
    Line: 2

    These are the errors I received in Chrome:

    Uncaught TypeError: Cannot read property ‘length’ of undefined jquery.min.js:2
    Uncaught ReferenceError: Backbone is not defined notes-rest-common.js:30
    Uncaught ReferenceError: Backbone is not defined admin-bar-rest.js:1
    Uncaught TypeError: Object [object Object] has no method ‘sortable’ admin-scripts.js:3
    Uncaught TypeError: undefined is not a function admin-bar-rest.js:1
    2Uncaught TypeError: Object [object Object] has no method ‘wpdialog’ /wp-includes/js/tinymce/plugins/wpdialogs/editor_plugin.js?ver=358-23156:1

    Seems like the plugin is interfering with the version of jquery in the wordpress core. Any ideas how to fix this?

    Test site is located at https://thedesertisle.com/ but I may be doing some work on it, so let me know if you would like me to activate or deactivate the plugin or something…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yep. Same errors here. I have to disable the plugin to edit anything.

    I disabled the call to the googleapi version of jquery, but still get the same errors, just referencing the WP version of jquery.

    Plugin Author Maeve Lander

    (@enigmaweb)

    Hi guys… yes I am aware of these issues in 3.5 and working on fixes which will be released soon. Sorry for any inconvenience, but this is always a risk when upgrading the core and this plugin is not yet tested and compatible with 3.5….. working on it – just an insanely busy time of year at work so time is limited!

    Maeve Lander, were you able to figure this issue out? We are having a similar issue with a different plugin and I am attempting to track down the root cause.

    Thanks!

    Plugin Author Maeve Lander

    (@enigmaweb)

    Hi jacobfogg, yes the issue was basically that I wasn’t including jQuery properly (or consistently) at various points in the plugin. I put a lot of time into cleaning up the code and that fixed up all these jQuery errors as well as a bunch of conflicts with other plugins.

    I found this was the most useful article –> https://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

    I also had Pippin Williamson review the code and he was extremely helpful in providing suggestions for improvement. Another set of eyes (Pippin’s an expert too) was really helpful.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin breaks WordPress 3.5 TinyMCE page/post editor’ is closed to new replies.