The ‘invoice’ document type could not be generated for the selected order(s).
-
Hi guys,
suddently few days ago the plugin stopped generating invoices for new completed orders.
I’v tryed all options you suggest in the pinned “Read this first!” post in the forum to solve this:
——————· Go to the Status panel of the plugin settings. Do you see any orange or red flags? If so, try to solve them or post a new thread in the forum (do not reply to this post).
EVERYTHING IS GREEN HERE.
Do you get this problem with the default PDF template or a custom template? Try reverting to the default Simple template if this is an error with a custom template. If there’s an error in your template code, this could cause the pdf engine to crash.
I USE DEFAULT PDF TEMPLATE
A common issue is related to memory available, make sure you have at least 64M, preferably 128M or more (this will also show in the status panel)
I HAVE ENOUGH MEMORY (WordPress: 768M, PHP: 768M)
If you’re getting a blank screen when trying to create a PDF, try enabling the ‘Enable debug output‘ setting on the status panel (not recommended on a live site!). This will give you a more descriptive error. Open a new thread in this forum if you don’t know what to do with this error.
IN THE WOOCOMMERCE ORDERS PAGE, WHEN I SELECT ANY LATEST ORDER AND GO TO ACTIONS > PDF INVOICE I GET A BLANK SCREEN WITH THE ERROR:
“The ‘invoice’ document type could not be generated for the selected order(s).”IN THE LOG FOLDER I SEE THREE FOLDERS BUT I DON’T UNDERSTAND HOW TO SEE THE DEBUG LOG.HTML (DOMPDF FOLDER) SHOWS THIS TEXT ONLY:
“216 79872.00 KB 161.00 ms OFF“———————-
Also i have tried to deactivate ALL plugins from my site except the invoice pdf plugin and problem persists. I also tried to deactivate and uninstall/install the plugin but problem persists.
Also note WordPress, themes and plugins are 100% updated and I’m using php version 8.3.
Hope you can help me to solve this.The page I need help with: [log in to see the link]
The topic ‘The ‘invoice’ document type could not be generated for the selected order(s).’ is closed to new replies.