Title: W3TC plugin error
Last modified: September 1, 2016

---

# W3TC plugin error

 *  [GrafixerStudio](https://wordpress.org/support/users/grafixerstudio/)
 * (@grafixerstudio)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/w3tc-plugin-error/)
 * I am receiving the following error message:
    20160809T111848: grafixer.biz/index.
   php PHP Fatal error: Cannot redeclare class JSMin_UnterminatedStringException
   in /hermes/bosnaweb23a/b1112/ipg.grafixerbiz/NewWebSite/wp-content/plugins/w3-
   total-cache/lib/Minify/JSMin.php on line 355 PHP Fatal error: Unknown: Cannot
   use output buffering in output buffering display handlers in Unknown on line 
   0 Can somebody help me how to fix this?
 * Thank you… Andy
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  [Ashok](https://wordpress.org/support/users/bappidgreat/)
 * (@bappidgreat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/w3tc-plugin-error/#post-7648802)
 * [@grafixerstudio](https://wordpress.org/support/users/grafixerstudio/)
 * Do you have any other minify plugin active? Looks like you have another plugin
   in your system that uses JSMin library.
 * As a workaround, you can go to /wp-content/plugins/w3-total-cache/lib/Minify/
   JSMin.php line no 355 – 357 and replace:
 *     ```
       class JSMin_UnterminatedStringException extends Exception {}
       class JSMin_UnterminatedCommentException extends Exception {}
       class JSMin_UnterminatedRegExpException extends Exception {}
       ```
   
 * with
 *     ```
       if( ! class_exists( 'JSMin_UnterminatedStringException' ) ) {
       class JSMin_UnterminatedStringException extends Exception {}
       class JSMin_UnterminatedCommentException extends Exception {}
       class JSMin_UnterminatedRegExpException extends Exception {}
       }
       ```
   
 * Hope it helps 🙂 Please feel free to ask more question if you have any.
 * Cheers
    Ash

Viewing 1 replies (of 1 total)

The topic ‘W3TC plugin error’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ashok](https://wordpress.org/support/users/bappidgreat/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/w3tc-plugin-error/#post-7648802)
 * Status: not resolved