• Resolved paulewhite

    (@paulewhite)


    Dear Sirs, when I open the downloaded file Excel shows the following error (in Italian):

    Si è verificato un problema con una parte del contenuto di ‘gfexcel-1-modulo-di-iscrizione-20250714.xlsx’. Provare a recuperare il contenuto? Se la cartella di lavoro è considerata attendibile, fare clic su Sì.

    which roughly translates as “a problem occurred with a part of the file content (…) Try to recover the content?”

    If I choose “Yes” the file opens correctly.

    I am using the latest version of your plugin and Excel for Mac Version 16.98

    The error occurs on different installations.

    Can you help me with this?

    While the file eventually opens correctly, I have to explain to my customers to ignore that error and this is annoying.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @paulewhite,

    Thanks for reporting this.

    Did the warning start appearing after the most recent plugin update? That could help us determine whether the change is related to the current release or something in the environment.

    That said, this kind of Excel warning usually appears when there’s unexpected output (often extra whitespace) before or after the actual file content. This typically comes from extra blank lines in one of your theme PHP files.

    Here’s what to check:

    • Open your functions.php file and make sure there are no blank lines before the opening <?php tag.
    • If the file ends with a ?> closing tag, remove it entirely. It’s not required and can introduce trailing whitespace that causes this issue.

    Once those changes are made, try exporting the file again. If the warning still appears, please file a support ticket at https://gravitykit.com/support, so we can investigate it further.

    Best,
    GravityKit Support Team

    Thread Starter paulewhite

    (@paulewhite)

    Hi there, thanks for your prompt reply.

    It seems the problem was caused by an empty field included in Field settings / Enabled fields.

    I have no idea why the field was there but after deleting it, the Excel file opens without problem.

    Thanks again and kind regards,

    Paolo

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error on opening th e file’ is closed to new replies.