WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] Minify adding strange characters (2 posts)

  1. broken85
    Member
    Posted 4 years ago #

    First, I'm seeing some bizarre behavior with Minify in the latest release of W3TC (and maybe before that as well...). Most of the javascript files I try to minify cause all of my javascript to fail on the page, rendering it very oddly, and occasionally replacing the entire page with a single Google ad (from the Easy AdSense plugin).

    I have removed a bunch of the javascripts from being minified, and the page works better, but there are JS errors in the minified files.

    I have chosen to Combine Only while testing (because doing a full minify seems to make none of them work properly). IE was complaining about a script error, so I looked into it.

    The following URL shows my footer file as combined by W3TC:
    http://technologykills.com/wp-content/w3tc/min/index.php?gg=default&g=include-footer&t=js

    There are three relatively simple files being minified here (in this order):
    1. http://technologykills.com/wp-content/plugins/google-analyticator/external-tracking.min.js
    2. http://static.zemanta.com/readside/loader.js
    3. http://technologykills.com/index.php?ak_action=aktt_js

    On line 7 there is a ";28b" which does not appear in the source of any of those three files. Additionally, on line 37 there is a lone "0" which is not from any of those 3 scripts.

    If it's doing a Combine Only, where would this extra data be coming from?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Posted 4 years ago #

    Can you submit a bug submission from the support tab of the plugin with the combined file attached?

Topic Closed

This topic has been closed to new replies.

About this Topic