An uncaught Exception was encountered Mpdf\MpdfException


Any good Samaritan who can help me because I have this problem when I try to generate the pdf invoice?


An uncaught Exception was encountered
Type: Mpdf\MpdfException

Message: PDF/A1-b or PDF/X1-a does not permit encryption of documents.

Filename: //*****/.****.com/*****/vendor/mpdf/mpdf/src/Mpdf.php

Line Number: 9244


File: //*****/.****.com/*****/application/helpers/mpdf_helper.php
Line: 115
Function: Output

File: //*****/.****.com/*****/application/helpers/pdf_helper.php
Line: 106
Function: pdf_create

File: //*****/.****.com/*****/application/modules/guest/controllers/View.php
Line: 119
Function: generate_invoice_pdf

File: /*****/.****.com/*****/index.php
Line: 325
Function: require_once


Sounds like you can’t password-protect PDF files that contain ZUGferd information.


You’re right, it’s resolved.
I appreciate you