Title: Merge CSS causing js error
Last modified: March 1, 2019

---

# Merge CSS causing js error

 *  [blockathon](https://wordpress.org/support/users/blockathon/)
 * (@blockathon)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/merge-css-causing-js-error/)
 * Hi there,
 * Seems the latest version of Page Speed Ninja is merging CSS into the JS file.
 * I tried every setting on a fresh install of wordpress and have narrowed it down
   to the `Merge CSS files` setting.
 * You can see what’s happening here. It’s taking the CSS and injecting it into 
   the JS file.
 * See screenshot here: [https://imgur.com/a/jiwgZry](https://imgur.com/a/jiwgZry)
 * Please fix.
    -  This topic was modified 7 years, 3 months ago by [blockathon](https://wordpress.org/support/users/blockathon/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [blockathon](https://wordpress.org/support/users/blockathon/)
 * (@blockathon)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/merge-css-causing-js-error/#post-11265742)
 * Some more testing seems to show that it’s the `libxml` parser, other parsers 
   are fine

Viewing 1 replies (of 1 total)

The topic ‘Merge CSS causing js error’ is closed to new replies.

 * ![](https://ps.w.org/psn-pagespeed-ninja/assets/icon.svg?rev=1722219)
 * [PageSpeed Ninja - Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP](https://wordpress.org/plugins/psn-pagespeed-ninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/psn-pagespeed-ninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/psn-pagespeed-ninja/)
 * [Active Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/psn-pagespeed-ninja/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 1 reply
 * 1 participant
 * Last reply from: [blockathon](https://wordpress.org/support/users/blockathon/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/merge-css-causing-js-error/#post-11265742)
 * Status: not resolved