Hello and congatulations for this awesome work. Yesterday I updated to 1.5.0 but bumped onto this problem when go to download an invoice. I see my settings at Settings>Invoices>Invoice Template are set correct, at least are set as with the previous version.
Is there any way to fix this?
This is quite interesting. This error should only appear if the wrong version of mPDF is loaded. However, it is working without problems for me. Could you please verify that the setting “Enable Zugferd XML” in the invoice settings is turned off (if you don’t need it)?
Hi again, the Zugferd XML was set to on, I set it to off and was able to download the invoice but the template was quite strange it was not a nice to see invoice, just a listing with numbers
Kovah, do you think I should try to make a clean installation or there is a point to look this up; To be honest Iam not in a hurry to invoice.
Thnx
I have the same error too and disabling it stops the error but it would be nice to have the option turned on so my clients can make use of the additional metadata this class provides
PDF download is able only when I have Zugferd disabled, when I enable Zugferd then it shows this nice red page with the error description.
While Zugferd disabled here is a screenshot of the PDF
I updated the …/views directory with a fresh one, now is ok with the web view. Still some problems with the .pdf but it seems its something between my hardcoded templates and the new version (compatibility;)…maybe;
I will try to fix it and post results.
Thank you for your support and such a great and neat work!
Well I found that there was a problem using my invoice templates from the old installation with the new one. Using the 1.5.0 templates solved the problem also with the pdf view.
Thank you for supporting
Cannot reproduce thie error regarding the Zugferdxml class as the file should not exist in any version > 1.5.0. Also, testing the feature does not throw this error.
I tested this with PHP 5.6, 7.0 and 7.1 and the library was loaded without any problems and the PDF got the XML attached.
Also, it does not make any difference for me if I change the libary call from zugferdxml to ZugferdXml and also changing the class name from ZugferdXml to Zugferdxml does not affect the PDF generation.
Is there kind of a PHP config that requires class calls to be case sensitive? You may try to change the call in the helper file to ZugferdXml.