• Resolved landwire

    (@landwire)


    Hi there,
    I am getting this error on my server:
    [php7:error] [pid 25194] [client 79.213.167.191:49157] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0, referer:

    I am not sure if I need to configure the server/php? I checked the php.ini and output_buffering is set to 4096.

    Any ideas what else I can check? Because of this error I get a 500 Internal Server Error and a white page, when I enable the cache enabler.

    Many thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author KeyCDN

    (@keycdn)

    It sounds like a conflict with another plugin using output buffering as well. I suggest to disable other plugins to identify the conflicting plugin.

    Thread Starter landwire

    (@landwire)

    I disabled all plugins and switched to twenty-nineteen theme. I still get that fatal error. Is there anything else I need to activate on my server or put into the php.ini file?

    Thread Starter landwire

    (@landwire)

    Those are my settings from phpinfo():
    output_buffering 4096
    output_encoding no value
    output_handler no value

    Thread Starter landwire

    (@landwire)

    I use a bedrock setup from roots.io. But your plugin was recommended and seems to be working with that setup, so I do not think that this causes the problem.
    See here: https://discourse.roots.io/t/recommended-cache-ing-plugin-using-bedrock/15976/3

    Plugin Author KeyCDN

    (@keycdn)

    What PHP version are you using?

    You can try to set those php.ini params:

    memory_limit = 512M
    max_execution_time = 180

    Thread Starter landwire

    (@landwire)

    PHP 7.3

    Thread Starter landwire

    (@landwire)

    I increased the memory_limit and the max_execution_time to those values you suggested, but I still get the same error.
    You can close this if you do not have any other idea. It likely is my server and not your plugin.

    Plugin Author KeyCDN

    (@keycdn)

    Hmm, and a regular WordPress installation just works fine?

    Thread Starter landwire

    (@landwire)

    Hi there,
    I changed my handler on the server to php-fpm and increased a few more resources and now the plugin is working as expected.
    Thank you very much!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP Fatal error: Cannot use output buffering’ is closed to new replies.