Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#831538
I have a Output document generated using HTML2PDF engine. When the output document is added as a step in the task, the file generates fine but when trying to generate the output document using the trigger (function : PMFGenerateOutputDocument ) it gives the error :

Fatal error: Call to undefined method FPDF::GetFontAscender() in /var/www/processmaker/thirdparty/html2ps_pdf/output.fpdf.class.php on line 154

I checked the output.fpdf.class.php and file does cludes :

require_once(HTML2PS_DIR.'pdf.fpdf.php');
and the file has the function GetFontAscender. Seems like it is not able to access the function in the parent class.


Please help how can this issue be fixed.

Thanks.

In 2024, NFT businesses are in the hype because mi[…]

A Pancakeswap clone is a Decentralized Finance(DeF[…]

Action RPGs have noticed a resurgence lately with […]

The Metamorph league was introduced with the Conqu[…]