• Resolved dooza

    (@dooza)


    I get the following error which causes other JS components, like Owl Carousel, to stop working:

    micromodal.min.js:1 Uncaught TypeError: Invalid attempt to spread non-iterable instance.
    In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
        at micromodal.min.js:1:889
        at t (micromodal.min.js:1:1039)
        at Object.init (micromodal.min.js:1:6829)
        at HTMLDocument.<anonymous> (admin.min.js:1:1385)
        at i (jquery.min.js:2:27449)
        at Object.fireWith [as resolveWith] (jquery.min.js:2:28213)
        at Function.ready (jquery.min.js:2:30006)
        at HTMLDocument.K (jquery.min.js:2:30368)

    The only widget on Happy Addons is Equal Height Columns, so I am not sure why micromodal is being called from a CDN on pages which don’t use Happy Addons.

    Micromodal is being loaded via https://unpkg.com/micromodal/dist/micromodal.min.js which redirects to https://unpkg.com/[email protected]/dist/micromodal.min.js

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter dooza

    (@dooza)

    To add to this, the page doesn’t even have Elementor in use.

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @dooza,

    Thanks for your query. Would you please share the reproduction process of the issue? We are trying to reproduce the issue on our site. But didn’t find any ERROR like yours when Only Elementor and HappyAddons are activated.

    We have checked by Enabling/disabling the Equal Height but didn’t find the issue. We are not sure what we have missed. Along with that, did you check if there is any ERROR after disabling OWL carousel?

    I am looking forward to hearing from you. Along with that, for proper investigation for the site specific issue, please contact our technical support through this form.

    Thank you and have a nice day.

    Thread Starter dooza

    (@dooza)

    Hi @anowerhossain16, I just discovered this is only happening whilst logged in.

    My site is a multisite, all the sub-sites have had Elementor added to the site a long time after the initial theme was created. The majority of the pages don’t use Elementor, but it seems when logged in, the Happy Addons assets are being loaded. It’s only the netwoks main site home page that seems to have the JS error which breaks it.

    All the sites are using the same templates so this is very weird, and very hard to reproduce.

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @dooza,

    Thank you for the update.

    First of all, we don’t have any official compatibility for multisite mode. Kindly use it as a different sub-site mode.

    Please share your site URL here. Along with that share, the page URL if there is any specific responsible page. If needed you might need to move to our technical support for deep investigation.

    Thank you and have a nice day.

    Thread Starter dooza

    (@dooza)

    I think it would be best to move to your technical support team for deeper investigation.

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @dooza,

    Thank you for the acknowledgment. I hope you did raise a ticket and found a solution for the issue. If not, please continue the technical support conversation.

    Feel free to let us know if we could assist you with anything else.

    Thank you.

    seems to be caused by :

    GET https://unpkg.com/micromodal/dist/micromodal.min.js?ver=3.8.2 net::ERR_ABORTED 520

    this script is called in admin bar, once logged as admin. on frontend this is not occuring.

    please happy team, fix unhappy problem as it’s creating js isues when we are logged in website.

    thx

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @tonnick0033,

    Thanks for the acknowledgment. We are working on various issues including this one. Please stay with us. We will release a stable version soon.
    Thank you and have a nice day.

    Thread Starter dooza

    (@dooza)

    Hi @anowerhossain16

    I just updated to the latest version and the issue remains.

    It only happens to logged in users of the main site in the network, none of the subsites have the issue.

    Thread Starter dooza

    (@dooza)

    Is there any news on this issue? I see my request is marked as resolved but it’s still not working.

    Thread Starter dooza

    (@dooza)

    Hi @anowerhossain16 , do you have an update for me on this issue? My client would like to know when it will be fixed.

    Plugin Support Md. Anower Hossain

    (@anowerhossain16)

    Hi @dooza,

    I hope you are doing well.

    I would like to inform you that the issue is raising is not appearing on our site. On the other hand, after investigating the Error, we assume that the issue comes from the Multi-site.
    Another possible guideline is to keep your site’s PHP environment at v7.4 or higher.

    Additionally, SMTP server can be another issue. Please contact your Hosting Provider for more info.

    Previously, we asked you to contact our technical support but haven’t found any. For more deep investigation, please get in touch with our technical support here.

    Thank you.

    Thread Starter dooza

    (@dooza)

    I spoke to the Happy Addons support team and they acknowledge the issue exists but don’t plan to address it as they don’t officially support multisites.

    Plugin Support Md. Yeasin

    (@mdmamun-1)

    Hi @dooza,

    Thanks for the update.
    Yes, you were right that the issue/error comes from the Multi-site. Unfortunately, HappyAddons does not compatible with WP Multi-site installation.

    However, we have released a stable version: 3.8.6 please use it on your single WordPress installation/website it works.

    Feel free to open a new topic so that we can help you more.

    Thank you,

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Micromodal JS Error’ is closed to new replies.