• Resolved mlaw93

    (@mlaw93)


    I’m getting the following error in my javascript console. I’m thinking its a bootstrap conflict with jquery-ui, but I don’t know how to fix it.

    bootstrap.min.js?ver=20180301:6 Uncaught TypeError: e[b] is not a function
    at HTMLAnchorElement.<anonymous> (bootstrap.min.js?ver=20180301:6)
    at Function.each (jquery.js?ver=1.12.4:2)
    at jQuery.fn.init.each (jquery.js?ver=1.12.4:2)
    at jQuery.fn.init.b [as tooltip] (bootstrap.min.js?ver=20180301:6)
    at bookacti_init_tooltip (global-functions.min.js?ver=1.6.1:1)
    at HTMLDocument.<anonymous> (forms.min.js?ver=1.6.1:1)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Booking Activities Team

    (@bookingactivities)

    Hello,

    Yes, bootstrap and jquery-ui both use the same name for their tooltip function, there is a known conflict (more info).

    That is why WordPress demands to use the core-bundled libraries (jquery-ui-tooltip) to avoid conflicts (plugins guidelines, theme guidelines).

    You can ask the plugin/theme (which uses bootstrap) author to change it if it is possible (only for the tooltip part), else, I am afraid you will have to choose between Booking Activities and that plugin/theme.

    Regards,
    Yoan Cutillas

    Thread Starter mlaw93

    (@mlaw93)

    Thanks, I have temporarily fixed in their theme by adding jquery-ui, jquery-ui-tooltip as required in their bootstrap enqueue step….seems to have fixed all the issues and error I was seeing. I have reached out to developer to see if they can fix in their next version.

    Thanks.

    Plugin Author Booking Activities Team

    (@bookingactivities)

    Hello,

    Ok, nice!
    I hope they will find a way!

    Regards,
    Yoan Cutillas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError: e[b] is not a function’ is closed to new replies.