Thread:Extension talk:Pdf Export/Unable to generate PDF when using the Toolbar on side/reply (3)

Today I found a solution for this. If you're using the  you can add

at line 5. After this the PDF were created correctly.