Support » Plugin: WP Social Chat » Version 4.5.6 causes JS error (MAJOR)

  • Resolved mvanturnhoutziggonl

    (@mvanturnhoutziggonl)


    I’ve now installed version 4.5.6 and I’m running a WordPress site using W3 Total Cache, to fully minify and cache everything.

    The latest version of this plugin causes an JS error on the following line
    function qlwapp_init(){$('div#qlwapp').qlwapp();}qlwapp_init();$(window).on('load',function(){qlwapp_init();});$(window).on('click',function(e){if(!$(e.target).closest('#qlwapp.qlwapp-show').length){$('div#qlwapp.qlwapp-show').trigger('qlwapp.toggle');}});$(window).on('resize',function(e){$('div#qlwapp').trigger('qlwapp.resize');$('div#qlwapp').trigger('qlwapp.init');});})(jQuery,window,document);

    The error itself is logged in the console as
    `Uncaught SyntaxError: Unexpected token ‘function’

    This causes all other JS functionality to break

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Version 4.5.6 causes JS error (MAJOR)’ is closed to new replies.