Conflict with WPML 4.0.1
-
Hello,
When I have the Simple History plugin active on a multi-language website that uses WPML 4.0+ the plugin conflicts with WPML on the Admin dashboard and because of that the JetPack SiteStats doesn’t load anymore and in the console I get an error with WPML and Simple History Filter Dropin.
I have disabled the plugin and everything is working fine again. I actually have multiple installations of WPML+SimpleHistory (+ different themes and plugins) and on all of them I have the same issue.
The error in the console is:
Uncaught Error: Option 'multiple' is not allowed for Select2 when attached to a <select> element. at String.<anonymous> (select2.min.js?ver=4.0.1:21) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,underscore,wp-util,backbone,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-progressbar&ver=99108b0eee01df769bfda350b1a29e11:2) at d.prepareOpts (select2.min.js?ver=4.0.1:21) at d.prepareOpts (select2.min.js?ver=4.0.1:22) at d.init (select2.min.js?ver=4.0.1:21) at HTMLSelectElement.<anonymous> (select2.min.js?ver=4.0.1:22) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,underscore,wp-util,backbone,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-progressbar&ver=99108b0eee01df769bfda350b1a29e11:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,underscore,wp-util,backbone,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,jquery-ui-progressbar&ver=99108b0eee01df769bfda350b1a29e11:2) at a.fn.init.a.fn.select2 (select2.min.js?ver=4.0.1:22) at enhanceSelects (SimpleHistoryFilterDropin.js?ver=2.23.1:154) /wp-content/plugins/sitepress-multilingual-cms/lib/select2/select2.min.js?ver=4.0.1
Thanks for your help and for developping this plugin @eskapism
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Conflict with WPML 4.0.1’ is closed to new replies.