Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14052

survivehive on "[Plugin: Autoptimize] 500 error in WooCommerce Pages, when crawled by GoogleBot"

$
0
0

I have a strange issue. I noticed GoogleBot reporting 500 errors when crawling product pages in my WooCommerce Store.

I enabled WP-DEBUG, and tailed the error log while requesting a fetch from GoogleBot. Here is the ouput:

PHP Fatal error:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 182430: ',' in /path/to/www/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php:203

Stack trace:
#0 /path/to/www/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php(145): JSMin->action(1)
#1 /path/to/www/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php(84): JSMin->min()
#2 /path/to/www/wp-content/plugins/autoptimize/classes/autoptimizeScripts.php(177): JSMin::minify('?/*! jQuery v1....')
#3 /path/to/www/wp-content/plugins/autoptimize/autoptimize.php(259): autoptimizeScripts->minify()
#4 [internal function]: autoptimize_end_buffering('<!DOCTYPE html>...', 9)
#5 /path/to/www/wp-includes/functions.php(3092): ob_end_flush()
#6 [internal function]: wp_ob_end_flush_all('')
#7 /path/to/www/wp-includes/plugin.php(505): call_user_func_array('wp_ob_end_flush...', Array)
#8 /path/to/www/wp-includes/load.php(613): do in /path/to/www/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php on line 203

Any suggestions?

https://wordpress.org/plugins/autoptimize/


Viewing all articles
Browse latest Browse all 14052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>