• Resolved baddopey

    (@baddopey)


    After installing the addons plugin, several javascript items on my site seem to stop working, such as the menu hover in the nav, loading animations, and video player. I am getting the errors show here after installing: http://prntscr.com/ds92k4

    I think it might be an issue with jQuery Noconflict since its saying $ is not a function

    Here is a link to my dev site: http://dev2.catalystpainsolutions.com/

    I tried versions 1.3, 1.2, and 1.1 of the plugin. I am using WP 4.6.1 and Visual Composer 4.11.2.1.

    Deactivating the plugin returns the site to normal functionality and removes the console errors, but I really would like to use this plugin if I can find a workaround.

Viewing 1 replies (of 1 total)
  • Plugin Author livemesh

    (@livemesh)

    The theme specular you are using is the root cause for the error. The theme main.js file has code which reads like –

    `var $ = jQuery.noConflict();’

    and then goes on to use the $ imagining that $ is referencing jQuery. This is true until another plugin issues jQuery.noConflict(). The variable name should be something other than $ as explained here –

    http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/

    Removing

    jQuery.noConflict();

    from files /assets/js/lvca-frontend.js and /assets/js/lvca-frontend.min.js file may make it work for now but there is no guarantee another plugin may not do this again.

Viewing 1 replies (of 1 total)

The topic ‘Installing breaks nav hover, jQuery NoConflict?’ is closed to new replies.