Hi @nikonoot,
The ‘Document not available’ message appears when the PDF document can’t be generated yet, because any condition disallow the document creation.
It’s likely that this disabling is happening because you selected the order statuses in which you don’t want the PDF invoice to be created. You can check this under WooCommerce > PDF Invoices > Documents > Invoice > Disable for.
For instance, if you have selected On hold, or Processing there, you will not be able to create the PDF invoice until the order reaches a different status, e.g. the Completed order status.
Thanks for your answer. It’s not that, I checked. This is the message I get:
Class “DOMImplementation” not found
However in my server php settings the DOM is enabled? My hosting provider can’t help me.
Could you send us a screenshot of your System Configuration and Write Permissions, that you’ll find under WooCommerce > PDF Invoices > Status tab?
Thanks for sharing those screenshots, although it seems that they are part of the system status, but not from our plugin’s settings.
Please go to WooCommerce > Status > System Status again, click on Get system report, then click on Copy for support, paste it on https://pastebin.com/ (set a paste expiration for one week, just in case), and finally paste the pastebin.com link in your reply here.
Thank you. Here is the link:
https://pastebin.com/H6cLr5XQ
Thanks for sharing your system configuration, @nikonoot!
Definitively, you have to talk with your hosting provider for them to enable the DOMDocument extension. If they do not provide you with help on this, my recommendation is to switch to an other, more diligent provider.
If I check PHP, DOMdoc it is enabled on server…
They keep telling me that’s not their fault. Been with them for very very long time so bit disappointing…
Thanks for your time!
Greetings!
If yours is a VPS, you might need to restart the server. If you are not able to do it, the hosting provider should do it. Hope you managed to activate it.