go to woocommerce > pdf invoice >settings >status
and change this
Send the template output as HTML to the browser instead of creating a PDF.
untick
Plugin Contributor
Ewout
(@pomegranate)
Thanks for helping out Kammy! It’s indeed likely that this option was enabled.
If the option “Output to HTML” was not enabled, it’s also possible there’s an error in your template that breaks the process before the PDF is created. In that case, you can try enabling the option “Enable debug output” on that same “Status” tab, which may reveal a PHP error when you try again (you may need to open the source to see it).
Let us know if this resolves the issue!