• Resolved lathemaster

    (@lathemaster)


    The User registration Plugin is throwing a Jscript error and interfering with another plugin

    sweetalert2.min.js?ver=8.17.1:5 Uncaught TypeError: this.constructor.argsToParams is not a function
    at e.y [as swal] (sweetalert2.min.js?ver=8.17.1:5)
    at e.showLocationsPopup (atum-list-tables.js?ver=1.7.8:1)
    at HTMLAnchorElement.<anonymous> (atum-list-tables.js?ver=1.7.8:1)
    at HTMLDivElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDivElement.r.handle (jquery.js?ver=1.12.4-wp:3)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @lathemaster,

    It seems that there is a conflict between the plugins. Please deactivate all other plugins except User Registration and see if the error is gone or not. If everything works fine then you can activate other plugins one after another and do test registrations at the same time. This will let you know the cause behind the error.

    Let me know if it helps or not and I will get back to you.
    Regards!

    Thread Starter lathemaster

    (@lathemaster)

    The User Registration plugin is working however the js error is causing another plugin to fail – when User Registration plugin is deactivated all the other plugins work as they should.

    Here are the full URLs for the error
    Uncaught TypeError: this.constructor.argsToParams is not a function
    at e.y [as swal] (sweetalert2.min.js?ver=8.17.1:5)
    at e.showLocationsPopup (atum-list-tables.js?ver=1.7.8:1)
    at HTMLAnchorElement.<anonymous> (atum-list-tables.js?ver=1.7.8:1)
    at HTMLDivElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDivElement.r.handle (jquery.js?ver=1.12.4-wp:3)

    https://store.thewoodenquill.com/wp-content/plugins/user-registration/assets/js/sweetalert2/sweetalert2.min.js?ver=8.17.1

    Hi @lathemaster,

    It seems that the sweet alert library is being used by another plugin on your site. The different versions of it might be causing the conflict.

    Can you please let me know which plugin stops working when the UR plugin is activated? Also, please let me know the sweetalert version that is being used by that plugin if you can. It will help me to debug the issue.

    Let me know and I will get back to you.
    Regards!

    Thread Starter lathemaster

    (@lathemaster)

    So the plugin that fails is
    ATUM Inventory Management for WooCommerce
    https://www.stockmanagementlabs.com/

    And I think it is using the library version referenced earlier best I can tell.

    Mike

    Hi @lathemaster,

    Sorry for the delayed response. It was due to the festive time here in our country and thus our team members were not available on regular working hours.

    Regarding your issue, I would recommend you contact the plugin author of ATUM Inventory Management because the javaScript error message is also associated with that plugin as you can see in the message.
    Their support might be able to help you.

    Regards!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin to js error’ is closed to new replies.