• Resolved hiden33

    (@hiden33)


    Hello

    First of all thanks A LOT for this wonderfull plugin working flawlessly on all my websites !

    But for the first time I have an issue that I can not solve myself. Here is the debug log shown on the page causing issue :

    Fatal error: Uncaught JSMin_UnterminatedStringException: JSMin: Unterminated String at byte 292: ', in /path/to/website/wp-content/plugins/autoptimize/classes/external/php/jsmin.php:214 Stack trace: #0 /path/to/website/wp-content/plugins/autoptimize/classes/external/php/jsmin.php(152): JSMin->action(1) #1 /path/to/website/wp-content/plugins/autoptimize/classes/external/php/jsmin.php(86): JSMin->min() #2 /path/to/website/wp-content/plugins/autoptimize/classes/autoptimizeSpeedupper.php(38): JSMin::minify('\n ...') #3 /path/to/website/wp-includes/class-wp-hook.php(286): autoptimizeSpeedupper->js_snippetcacher('\n ...', '') #4 /path/to/website/wp-includes/plugin.php(208): WP_Hook->apply_filters('\n ...', Array) #5 /path/to/website/wp-content/plugins/autoptimize/classes/autoptimizeScripts.php(309): apply_filters('autoptimize_js_...', '\n ...', '') #6 /path/to/website/wp-content/plugins/autoptimize/classes/autoptimizeMain.php(466): autoptimizeScripts->minify() #7 [internal function]: autoptimizeMain- in /path/to/website/wp-content/plugins/autoptimize/classes/external/php/jsmin.php on line 214

    I’m using the last version of wordpress and PHP 7.3.11-1.
    Thank you for you help 🙂

    • This topic was modified 6 years, 7 months ago by hiden33.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hiden33

    (@hiden33)

    Well … I found the problem 2 minutes after posting here… It was a conflict with a plugin, as usual…

    Solved

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    in general those “JSMin_UnterminatedStringException” errors are due to somehow malformed JS causing the JS minifier to choke on it, but I guess you found which plugin and excluded that from optimization so all is well that ends well 🙂

    kind regards,
    frank

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error: Uncaught JSMin_UnterminatedStringException’ is closed to new replies.