Support » Fixing WordPress » [Plugin: gPress] conflict with other plugin, Javascript broken

  • I have installed your plugin but the tab gPress Options only opens orange and gray menu tabs that I cannot click. Also, tabs on the left sidebar cannot be opened.
    In the Opera error console I see a Javascript error.

    JavaScript -
    Uncaught exception: TypeError: 'f.disabled.concat' is not a function
    Error thrown at line 10, column 353711 in <anonymous function: _tabify>(q) in
        f.disabled=c.unique(f.disabled.concat(".ui-state-disabled"),function(s,o){return r.lis.index(s)}))).sort();
    called from line 10, column 350276 in <anonymous function: _init>() in
    called from line 28, column 0 in <anonymous function: _createWidget>(a, c) in
    called from line 25, column 806 in <anonymous function>(h, g) in
    called from line 27, column 51 in <anonymous function>() in,a,new c(d,this))
    called via from line 29, column 866 in <anonymous function: each>(a, b, d) in
        var f,e=0,j=a.length,i=j===w||c.isFunction(a);
    called from line 24, column 260 in <anonymous function: each>(a, b) in
        return c.each(this,a,b)
    called from line 26, column 556 in <anonymous function>(d) in
        e?this.each(function(){var,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==undefined){h=i;return false}}):this.each(function(){var g=
    called from line 4, column 3 in <anonymous function>() in
        jQuery('.tpp_form_container #tabs').tabs({
    called from line 26, column 460 in <anonymous function: ready>() in,c);

    Ah, discovered now that it clashes with the plugin Use Google Libraries – after deactivating that one gPress shows the setup screen as supposed to do.
    Can you please look into it? I really would like to reactivate the Google libraries for better speed. Use Google Libraries didn’t conflict with other of my plugins.
    thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    FYI, please use the pastebin for all large code excerpts. (we’re supposed to remove them per forum rules). It works better anyway and won’t get you caught as spam 🙂

    duly noted, and sorry for not having noticed before

    FYI: I took a quick look at gPress and it seems to be printing script tags directly rather than using wp_register_script and wp_enqueue_script. In my experience this is the cause of most incompatibilities with Use Google Libraries.

    Have just released version 0.2.5 of gPress, and hope that this will be resolved. Please let me know if you are still having problems after upgrading.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: gPress] conflict with other plugin, Javascript broken’ is closed to new replies.