• When I download the excel file, I get the following error.

    <b>Notice</b>: ob_end_clean(): failed to delete buffer. No buffer to delete in <b>/wp-content/plugins/gf-entries-in-excel/src/Renderer/AbstractPHPExcelRenderer.php</b> on line <b>64</b><br />

    Can you please look into this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Christiaan van Luik

    (@cvl01)

    By the way, I temporarely fixed it by replacing

    ob_end_clean(); // Cleaning buffer for preventing file corruption

    with

    if (ob_get_length()) ob_end_clean(); // Cleaning buffer for preventing file corruption

    Plugin Author Doeke Norg

    (@doekenorg)

    Hi @cvl01

    Please provide all versions in your environment. PHP, wordpress, gravityforms and the plugin.

    Thanks

    Plugin Author Doeke Norg

    (@doekenorg)

    hi @cvl01 this I can’t quite reproduce it, but I can see some people having this issue. Your solution is on point, and will be in the next release. Thank you for letting me know.

    PS, as a side-note. Not sure if you are running this in production, but notices should never be thrown in a production environment, because it can contain server-information. Try disabling the WP_DEBUG. This will also “solve” the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Notice in Excel File’ is closed to new replies.