• Resolved nimonogi

    (@nimonogi)


    Love the plugin but unfortunately I am having a problem with another plugin that I heavily use.

    If the plugin is used together with another plugin which uses an older version of the ‘sweetalert2’ js library, the other won’t be able to Save anymore, but it will throw a JS error.

    Any ideas on how to overcome this? Please note that the other plugin, thus the error, is only loading in admin panel.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @nimonogi,
    Yes this a issue with a few plugin which uses a super old version of SweetAlert library. The only way to solve this is to contact those plugin developer and asking them to update their implementation of SweetAlert library.

    Thread Starter nimonogi

    (@nimonogi)

    Since this is a known issue with several plugins, I believe it would be wise if you could come up with a solution by yourself.

    For example, since I have enabled the option “Remove purge option from toolbar”, there is no reason to load SweetAlert library on every page in admin panel. This will solve the problem.

    Plugin Contributor iSaumya

    (@isaumya)

    Removing from the toolbar will not solve the problem. Moreover it is not the issue with this plug-in. Cause these other plugins use super old version of the library which might also have security issues and can conflict with other plugin which uses a relatively latest version of the library. So in future those plugin can conflict with other plugins as well which also uses sweet alert. So better ask them to update the library in their plugin.

    Thread Starter nimonogi

    (@nimonogi)

    IMHO the problem starts where plugins loading unnecessary libraries all over the place. There is no reason to load sweetalert in every single page load.

    Anyway, I love your plugin and I would really appreciate it if you consider my suggestion.

    Plugin Contributor iSaumya

    (@isaumya)

    It is only loaded for the admin users who has the permission to purge cache. The reason it is loaded in most pages so that users can purge cache. As the cache purge system uses sweet alert library.

    The plugin does not load any unnecessary libraries. It only load what it needs to work. This plug-in cannot work without sweet alert. We cannot take responsibility of other plugin who are using a deprecated library version. They should stop using the deprecated version of the library and use the latest library.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Compatibility issue with another plugin’ is closed to new replies.