Hello team, I have an issue related to webforms and the pdf_generator module.
Specifically, when the user presses the submit button of the webform the form is saved normally in the content as it should but at the same time an error appears in the screen (“The website encountered an unexpected error. Please try again later.”).
The detailed error reports is mentioning: error: Class ‘Cpdf’ not found in Dompdf\Adapter\CPDF->__construct() (line 198 of /drupal/sites/ep-th-safety.web.cern.ch/modules/pdf_generator/lib/dompdf-dompdf/v0.8.3/src/Adapter/CPDF.php)
This line tells the module from where to get the library from. The line above shows the structure of the lib folder and how you have to place the dompdf library.