• Resolved denied123

    (@denied123)


    There seems to be an issue with WP SlimStat since when its .js is minified (wp-slimstat.js) an error appears in the java console.

    Error: TypeError: SlimStat.send_to_server(…) is not a function

    This doesn’t happen when the said .js file is excluded from being minified. Is it possible to take a look and see if it’s possible to fix the conflict ?

    Thanks in advance.

    https://www.ads-software.com/extend/plugins/autoptimize/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    I’m afraid not all javascript can be aggregated just like that, hence the inclusion of the “Exclude scripts from autoptimize” input field in the Autoptimize admin pages.

    So I would indeed advise you to exclude that .js-file from being aggregated & minified ??

    Like futtta said, some javascripts don’t really like to be minified (also because my js is ALREADY minified).

    Thread Starter denied123

    (@denied123)

    Yeap, but since WP Minify didn’t have any problems with it I assume there must be a workaround. Perhaps combining it without minifying it ?

    Plugin Author Frank Goossens

    (@futtta)

    it’s all (combining + minifying) or nothing I’m afraid. Just exclude it :-p

    Thread Starter denied123

    (@denied123)

    Will do, thanks for the reply ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Confict with WP SlimStat plugin’ is closed to new replies.