• 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/

Viewing 1 replies (of 1 total)
  • Ashok

    (@bappidgreat)

    @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.