• Resolved Vineet Talwar

    (@vineettalwar)


    Hi,
    Last update broke the entire site.
    Following is the setup.

    WordPress 4.9.8
    Autoptimize: Active
    Optimize CSS: Active
    Async JS Plugin: Active
    
    Async JavaScript: Defer
    jQuery: exclude
    
    Plugin: autoptimize
    enable autoptimize support: yes
    jQuery: defer
    
    <strong>W3 total cache:</strong>
    <strong>Page cache:</strong> OpCache
    <strong>Object cache </strong>- redis 
    <strong>Db cache:</strong> Redis
    <strong>CDN:</strong> Mirror: CloudFront 
    <strong>browser cache:</strong> active
    
    Plugin it shows in error for JS: Super Socializer (deduced from referece heator.com)
    
    <strong>Error from debug.log</strong>
    <code></code>
    [26-Sep-2018 11:08:39 UTC] PHP Fatal error:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 475: 'https://support.heateor.com/browser-blocking-social-features/\' target=\'_blank\' style=\'color:#33a9d8\'>https://support.heateor.com/browser-blocking-social-features/</a> to unblock these.
    
    ;}catch(e){}' in /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php:211
    Stack trace:
    #0 /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php(152): JSMin->action(1)
    #1 /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php(86): JSMin->min()
    #2 /var/www/htdocs/wp-content/plugins/autoptimize/classes/autoptimizeSpeedupper.php(38): JSMin::minify('try{var theCham...')
    #3 [internal function]: autoptimizeSpeedupper->js_snippetcacher('try{var theCham...', '')
    #4 /var/www/htdocs/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
    #5 /var/www/htdocs/ in /var/www/htdocs/wp-content/plugins/autoptimize/classes/external/php/jsmin.php on line 211
    
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error on async js after 2.4.0’ is closed to new replies.