I made a migration moodle from 2.8.5 to 3.1.2.
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.
no one can help me ??
I have a same problem while downloading grade_history of user
it is done by putting on index
please suggest if anybbody have any other option
Hi sandip tawre,
Thank you for posting this error in the forum, me too I have the same error.
I would like to know where in the file index.php did you place the
ob_start () ????
or else can you post your index.php on this forum in case other people will have errors of this type
Thank you very much
Whenever flexible_table is being used for exporting data the page MUST NOT print standard header or footer (or anything else for that matter). The only thing that should be executed is table setup and out.
So either a custom theme is used that messes this or the code itself is incorrect. If any of you uses some custom theme try with some stock theme just for the sake of testing.