• Resolved adrrien

    (@adrrien)


    Hi,

    Hope this message finds you well, i am currently working on a WordPress website, and i am using your plugin and i made two plugins on my own.
    Since your last update, four days ago, my plugins crashed and got stucked (it’s a carousel) and i was wondering why it suddently stopped working.
    During troubleshooting i discovered that your plugin has been updated (and it has no problem) and it made my plugin stuck.

    This is the error that i encountered :
    https://ibb.co/mX4P0Tv (image link)

    Uncaught TypeError: $_modal.find is not a function
    at HTMLDocument. (wordpress/:301:24655)
    at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035)
    at v.handle (jquery.min.js?ver=3.7.1:2:38006)
    at Object.trigger (jquery.min.js?ver=3.7.1:2:70124)
    at HTMLDivElement. (jquery.min.js?ver=3.7.1:2:70726)
    at Function.each (jquery.min.js?ver=3.7.1:2:3129)
    at e..each (jquery.min.js?ver=3.7.1:2:1594)
    at e..trigger (jquery.min.js?ver=3.7.1:2:70701)
    at C._triggerSlideEvent (carousel.js:307:24)
    at C._slide (carousel.js:355:31)

    What do you think I have to do, downgrade the update or maybe wait for an update ?
    The first version of my plugin is available on my github if you need to see what can causes this bug.

    Sincerely,
    Adrrien

    • This topic was modified 4 months, 2 weeks ago by adrrien. Reason: misspost
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    It looks like your plugin is using BootstrP v4, we default to v5, but you can change it back to v4 under WP Settings > AyeCode UI. However we would not recommend doing that, some features are only avaialble when using v5. I would suggest changing your code to use V5. You should also not need to load the JS fiels for bootstrap or font awesome if using our plugins is a requirement.

    Thanks,

    Stiofan

    Thread Starter adrrien

    (@adrrien)

    I am trying to use Bootstrap v5 but the carrousel is not working anymore and the error is still there … why was it working before the update

    Plugin Author Stiofan

    (@stiofansisland)

    Your script loads BS4 which will prob break things, there are also some little changes in BS, such as data items having a -bs- prefix, you can find more info here: https://getbootstrap.com/docs/5.3/components/carousel/

    Thanks,

    Stiofan

    Thread Starter adrrien

    (@adrrien)

    Thank you ! I will keep you in touch

    Thread Starter adrrien

    (@adrrien)

    UPDATE : When I use Bootstrap v5 it works but when UserWP is also Bootstrap v5 my carousel does not work and there is no errors …

    Plugin Author Stiofan

    (@stiofansisland)

    Are you still trying to load the CSS/JS files? You should not have to load those.

    Stiofan

    Thread Starter adrrien

    (@adrrien)

    I load the bootstrap js and css link (v5) because if I don’t load them, the style is not applied

    Plugin Author Stiofan

    (@stiofansisland)

    Do you have a live site you can link me to so i can check?

    Stiofan

    Thread Starter adrrien

    (@adrrien)

    Its an company intranet, so i am not sure that I can share the link or even the website …

    Plugin Author Stiofan

    (@stiofansisland)

    Try adding this class to a wrapping div of your code as we are loading the CSS in compatibility mode by default add class: bsui

    If that does not work you can reach out to me here: https://userswp.io/contact-form/

    Thanks,

    Stiofan

    Thread Starter adrrien

    (@adrrien)

    Thank you !
    I will try and keep you in touch

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.