General developer forum

Programming error detected. This needs to be fixed by a programmer: Output can not be buffered before instantiating table_dataformat_export_format

 
Picture of wawa war
Programming error detected. This needs to be fixed by a programmer: Output can not be buffered before instantiating table_dataformat_export_format
 

Hello everyone.

I made a  migration moodle  from   2.8.5 to 3.1.2.

I notice that when I want to download my reports by going Site administration / Reports / Logs

when I choose a course that I want to download ( in CSV format, or xlsx format or other), by clicking on download. there is this error message that appears.

Programming error detected. This needs to be fixed by a programmer: Output can not be buffered before instantiating table_dataformat_export_format.


Help me



 
Average of ratings: -
Picture of wawa war
Re: Programming error detected. This needs to be fixed by a programmer: Output can not be buffered before instantiating table_dataformat_export_format
 

no one can help me ??

 
Average of ratings: -
Picture of sandip tawre
Re: Programming error detected. This needs to be fixed by a programmer: Output can not be buffered before instantiating table_dataformat_export_format
 

I have a same problem while downloading  grade_history of user


 
Average of ratings: -
Picture of sandip tawre
Re: Programming error detected. This needs to be fixed by a programmer: Output can not be buffered before instantiating table_dataformat_export_format
 

it is done by putting on index

ob_clean()

ob_start()

in grade/report/history/index.php


please suggest if anybbody have any other option

 
Average of ratings: -