• Resolved Brian

    (@bwold)


    We’re using WPUF 1.1 on a site that also has a shopping cart. Without WPUF, the cart images are clickable and load a modal popup with product details. With WPUF enabled, the modals are not working (the URL changes, but no popup). Any page load shows this in my Chrome console: “Uncaught TypeError: Object #<Object> has no method ‘on'” in wpuf.js, line 5.

    How can I get these two playing well together?

    http://wordpress.org/extend/plugins/wp-user-frontend/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Ced

    (@cedriccharles)

    Hi !

    Did you find something ? I have the same error in the console…

    Thanks

    Thread Starter Brian

    (@bwold)

    I doubt this is the most elegant solution, but for us, it worked.

    At the very top of the wpuf.js file, I added:
    $.noConflict();

    Conflict solved.

    Of course, any automatic update of WPUF files might wipe out that little nugget. Also, it’s possible that the same code could have been added to the shopping cart plugin’s main JS file with similar results.

    Thanks for this! I was having a js conflict with my theme and this fixed it for me!

    I have same problem, on my wordpress site with recipe.
    For me $.noConflict(); is not solve problem :(.
    Is there some other solution ?

    Yup, it’s also screwing with other plugins, like Gravity Forms.

    If you’re still getting plugin conflict after putting $.noConflict(); at the top of wpuf.js, put that code at the top of attachment.js.

    Worked for me!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP User Frontend] Plugin conflict’ is closed to new replies.