Plugin not working. Script contains html content
-
The BWP Minify plugin works great on my local machine but on the live server it crashes. I noticed that the generated script tag in the footer contains the html content of my front page. If i choose only to minify and not to concatenate scripts everything works also on live server.
Also, the following error i get in Firebug “SyntaxError: syntax error <!doctype html>”
This is what it looks like:
<script src="http://www.example.com/wp-content/plugins/bwp-minify/min/?f=wp-content/themes/example/js/jquery.freetile.js,wp-content/themes/example/js/sequence.jquery-min.js,wp-content/themes/example/js/jquery.uniform.min.js,wp-content/themes/example/js/jquery.prettyPhoto.js,wp-content/themes/example/js/jquery.scrollToFixed.min.js,wp-content/themes/example/js/jquery.noty.packaged.min.js,wp-content/themes/example/js/spin.min.js,wp-content/themes/example/js/jquery.spin.js,wp-content/themes/example/js/klass.class.js,wp-content/themes/example/js/spNoty.class.js,wp-content/themes/example/js/sequence.js,wp-content/themes/example/js/cleanup.js,wp-content/themes/example/js/scripts.js,wp-content/themes/example/js/spLoader.class.js,wp-content/themes/example/js/spUtils.class.js,wp-content/themes/example/js/spCustomers.class.js,wp-content/themes/example/js/spBookings.class.js,wp-content/themes/example/js/spMap.class.js,wp-content/themes/example/js/spWeather.class.js,wp-content/themes/example/js/infobox.js" type="text/javascript"></script>
The topic ‘Plugin not working. Script contains html content’ is closed to new replies.