When calling the method 1C error flies

PHP Fatal error: Unknown: Cannot use output buffering in output buffering display on line 0, referer

The method itself returns the document for printing. Tried to increase memory_limit but it did not help.

  • I have the same problem but /etc/php/7.0/cli/php.ini no where I can not find - Identon
  • The same problem, output_buffering in the config is set to 0 - userlond

1 answer 1

In the /etc/php/7.0/cli/php.ini file /etc/php/7.0/cli/php.ini disable output_buffering for php-cli, you most likely have it set to 4096, but should be disabled by default.

  • The solution does not help, output_buffering in the config is set to 0 - userlond