PDF Generation - error message when including Variable description
t3chbg opened this issue · 0 comments
Hi Mehmood
We picking up that studies with over 2000 variables are timing out when we include variable description. I have increased the memory_limit and max_execution_time in php.ini. This error doesn't occur when we only choose variable list and external resources.
`An uncaught Exception was encountered
Type: Mpdf\MpdfException
Message: The HTML code size is larger than pcre.backtrack_limit 1000000. You should use WriteHTML() with smaller string lengths.
Filename: /var/www/html/nada5/vendor/mpdf/mpdf/src/Mpdf.php
Line Number: 26661
Backtrace:
File: /var/www/html/nada5/vendor/mpdf/mpdf/src/Mpdf.php
Line: 13159
Function: AdjustHTML
File: /var/www/html/nada5/application/libraries/Pdf_report.php
Line: 145
Function: WriteHTML
File: /var/www/html/nada5/application/controllers/admin/Pdf_generator.php
Line: 134
Function: generate
File: /var/www/html/nada5/application/controllers/admin/Pdf_generator.php
Line: 63
Function: _export_pdf
File: /var/www/html/nada5/index.php
Line: 343
Function: require_once`