• Hi ! First, your plugin is powerfull, I had one chance to check on Pingdome and GTMetrix, and I have scored high. But when I tried to do again, I had this message : « Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0 »

    I desactivated all the plugins I have, one by one… Same message. I also tried with another theme, same message. I use Divi and WordPress 3.8.1
    I have a lot (too many maybe) plugins. It’ll fill the rest of the page. So, if I could have a solution, I’d appreciate. Sorry if there’s little english mistakes, I’m french and I did not pratice for awhile… Have a nice day.

    Here are the plugins I have.

    Akismet (2.5.9), BackUpWordPress (2.4.1), Dynamic To Top (3.4.2), Elegant Builder (2.3), Elegant Themes Updater (1.0), ET Shortcodes (1.2), NextGEN Gallery by Photocrati (2.0.40), Rename wp-login.php (2.2.7), Responsive Styled Google Maps (2.18), Shortcodes Ultimate (4.6.2), TinyMCE Advanced (3.5.9.1), UberMenu 2 – WordPress Mega Menu Plugin (2.4.0.3), WordPress SEO (1.4.24), WP-Optimize, WP Smush.it (1.6.5.4), WP Super Cache, (1.4) YouTube Advanced by Embed Plus (4.4)

    Sorry ! By the way, not asking you to work for me, but if you see somes that don’t do good jobs, let me know.

    https://ww.wp.xz.cn/plugins/autoptimize/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Bonjour danicolas07;
    Just to make sure I understand; it worked at first and then stopped working? Did anything change between the time when Autoptimize worked and when it stopped working (a new plugin, a plugin update, …)?

    Most references to those types of errors are with PHP running out of memory, so maybe you could test with a higher amount of memory allocated in your php.ini?

    Additionally, can you try disabling HTML, CSS or JS optimization one after the other to see if one of these is to blame?

    Bien à toi,
    Frank

    Thread Starter danicolas07

    (@danicolas07)

    Wow ! I did not think I had an answer so rapidly… I was going to bed (5 h 15) here. Well, thank you Frank. For your questions, I activated the plugin and I immediatly went to see the performance. It was huge. Than I came back in claujameldan.ca (it will be change 😉 ) to see how fast it would open and than I had the message.

    So I tried, yes, one by one : with html alone, it opened in 7,8 seconds, slow… Java alone, there were less request but it took 8,7 seconds to open. And when I tried css alone, the images of the sliders I have went vertically, no move… They were horizontally sliding before. I stopped there, did not go at Pingdome to check.

    I’m not a programmer, I begin to learn, my first site… So i’m a little bit paranoïd I think. So I uninstalled your plugin, but writing about my story on WordPress french forum, PapiBoyington told me to write to you, telling me he have this plugin and it’s going very well on his site.

    So ? I would not want to be impolite, but I really have to go bed. If you can help me i’d be really happy. And I would use your plugin «fièrement». Haha ! Have a nice day, i’ll be back in the afternoon. Cordialement, Daniel.

    Thread Starter danicolas07

    (@danicolas07)

    Oh ! Sorry Frank, before going to sleep, I would add that without the plugin, on Pingdome it opened in 1,87 seconds. I think it’s ok. But when I see the things they tell me to do to have higher score (I had 77 %) it’s why I need your plugin. I do not know how to pick css, java… and how to regroup it to one request instead of 15. So, that’s it, I think I’ll sleep better, knowing I’m in good hands. À tantôt ! Best regards, Daniel

    Plugin Author Frank Goossens

    (@futtta)

    Alors Bonne nuit, for now 😉

    For tomorrow; so you did not get the “Fatal Error” when trying the different optimizations separately? Were you able to change the PHP memory allocation in php.ini?

    Regarding the slider not working; this will require some configuration (probably adding njquery.js to the list of things to exclude from javascript optimization).

    frank

    Thread Starter danicolas07

    (@danicolas07)

    Hi Frank ! Life’s good ? 🙂 OK. I reinstalled your plugin (a little bit less paranoïd) after a good sleep.

    I tested (?) it again. One by one, two by two and the three (css, java, html)

    For your question : no message appears with html and java, alone or even together. But css gives me the message in a white page… line 0.

    Testing on Pingdome, with css, only 1 request, milliseconds to download and 703 bytes, instead of 9,6 Mb. BUT, message… line 0

    As I said, I begin, so I don’t know what you means by «Were you able to change the PHP memory allocation in php.ini?» I can locate the files, but don’t know what you want me to do. Samething for adding .js… If you can give me a direction, I’ll do.

    But be sure that I don’t want to take to much of your your time. If you feel I’m not ready to change things I should, tell me, I won’t be offend. 🙂 Thanks for reading me, have a nice day/night. Daniel, le québécois français who love to learn and WordPress, intelligent plugins. 🙂

    Plugin Author Frank Goossens

    (@futtta)

    OK, good to know JS & HTML work.

    You now have the following options;

    • stick with JS & HTML, forgetting about CSS optimization
    • try with “look for CSS in head only” (although I don’t think that’ll fix the problem, as most CSS seems to be in “head” anyway)
    • try with the “legacy minifier” by adding
      define("AUTOPTIMIZE_LEGACY_MINIFIERS","true");
      to your wp-config.php
    • look at the HTML without CSS optimization and distill a list of all CSS-files being referenced. exclude one after the other, trying to identify the one that is breaking things (and I’d be very interested in identifying that one to test with myself)

    bàt,
    frank

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

The topic ‘Fatal error : Unknown… line 0’ is closed to new replies.