• Resolved Ryder

    (@hyflex)


    I’m receiving a ton of errors in my error log from your plugin:

    [21-Dec-2015 05:13:57 Europe/London] PHP Fatal error:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 270143: ");return t=i.SEGMENT(),' in /home/SERVERHERE/public_html/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php:203
    Stack trace:
    #0 /home/SERVERHERE/public_html/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php(145): JSMin->action(1)
    #1 /home/SERVERHERE/public_html/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php(84): JSMin->min()
    #2 /home/SERVERHERE/public_html/wp-content/plugins/autoptimize/classes/autoptimizeScripts.php(190): JSMin::minify('\n\n\tvar sp_platf...')
    #3 /home/SERVERHERE/public_html/wp-content/plugins/autoptimize/autoptimize.php(265): autoptimizeScripts->minify()
    #4 [internal function]: autoptimize_end_buffering('<!DOCTYPE html ...', 9)
    #5 /home/SERVERHERE/public_html/wp-includes/functions.php(3297): ob_end_flush()
    #6 [internal function]: wp_ob_end_flush_all('')
    #7 /home/SERVERHERE/public_html/wp-includes/plugin.php(503): call in /home/SERVERHERE/public_html/wp-content/plugins/autoptimize/classes/external/php/minify-2.1.7-jsmin.php on line 203

    https://www.ads-software.com/plugins/autoptimize/

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter Ryder

    (@hyflex)

    Hey Frank,

    Yeah, that’s not very clear I see what you mean. Basically the error is still happening in the background but I can’t make it happen myself.

    The errors are appearing in the file called “error_logs” (no extension) which I assume is apache error logs, it comes from when some PHP doesn’t work correctly.

    Thanks
    – Ryan

    Plugin Author Frank Goossens

    (@futtta)

    Basically the error is still happening in the background but I can’t make it happen myself.

    OK. I do see that your forum-pages are now autoptimized, which they weren’t before, so you’re heading in the right direction. Weird that you can’t trigger it by visiting any page though.

    ok, some questions:

    • how frequent are the errors?
    • is the error identical to this one

      ‘JSMin: Unterminated String at byte 270143: “);return t=i.SEGMENT(),’

    • can you compare the exact timestamp of the errors with your apache access log to see if something pops out?

    frank

    I am in the (unfortunate?) habit of speaking my mind, especially when I am 3 glasses of Pinot Noir in. ??

    it is his plugin that is throwing up errors

    Because of your mal-coded/mal-configured setup and/or configuration and/or ignorance. This is an observation, not an accusation.

    Your approach to support was bothersome, rude and abrupt. As are most. There needs to be a book written on Internet etiquette, lol.

    You’ve since gained a certain cordiality and respect (your name’s now Ryan, even! Hi Ryan!), so that’s of course good.

    That you’ve gotten this…:

    Unterminated String at byte 270143: “);return t=i.SEGMENT(),’

    …indicates not a problem with Autoptimize, but with your site/setup. And there’s Frank, helping you anyway.

    That’s the point. ??

    Good luck,
    AJ

    @aj – There is a wierd grey area where users that have moderate levels of expertise see an error and make a direct correlation assumption and do not consider that a combination of things could be the overall problem. What they see instead is a black and white cause and effect thing. It’s one of hardest things to explain to a user with moderate levels of expertise because their level of expertise has not reached that higher level of understanding yet. Unfortunately, the more you try to explain a “combo” problem the more a user with a moderate level of expertise is convinced that you are either blowing them off or refusing to help. It can be a very frustrating ordeal. ?? We all get there eventually – some quicker than others.

    There is one very valid point though and that is there is a point to how much free support someone should expect to receive and the person asking should be aware of how much is “too much to ask”. ??

    Thread Starter Ryder

    (@hyflex)

    AITpro,

    You’re clearly still upset over receiving a 1 star review and the fact you lost a sale. I never claimed to be an expert, we all have areas of expertise. I’m certain there would be plenty of areas that you could make me look like a novice in and likewise I too could do the same for you.

    Instead of trying to have a sly jab at people, try and learn to be humble and suck it up.

    Unlike you the author of autooptimize was extremely helpful, I’m sure he knows I very much appreciated his help. He had a look into the plugin and the clashes and he too couldn’t find an easy way to fix it so suggested to completely exclude autooptimize from the js optimization.

    Instead of saying something like “We can’t help any more, you need to buy our pro version to get more help” he gladly helped sort the issue. Anyone who has both plugins installed would run into the same bug and as such now that he knows what to do in this case he can easily and quickly advise people or potentially even build a fix directly into autooptimize for it.

    If he had a pro version, I would more than likely upgrade to a pro version.

    Also, unlike you he received a 5 star review ??

    Have a good day.
    – Hyflex

    @hyflex – Nope you are completely wrong and are reading something into my post that was not my intention whatsoever. Besides I was not talking to you and directed my post to @aj and it is just a general thing/problem that I run into fairly often. I have no desire to argue with you, prove anything or make you wrong and that is completely honest. So I’m sorry if you feel differently, but it is true.

    @hyflex – And everyone is not out to get you man. I think everyone is just trying to do the best job they can do with the least amount of stress. ??

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘error_log getting a ton of errors from the plugin’ is closed to new replies.