August 1, 2016

PHP - Call to undefined method PDF_HTML::FPDF()..



Before one day I realize this error and I find a simple solution, See below:

On included file 'html2pdf.php' you should just rename one function name as per below:

Approx line no: 52

1. Line no: 49
Replace function PDF_HTML with function __construct

2. Line no 52
Replace $this->FPDF with parent::__construct

Enjoy!

The Future of Technology: Emerging Trends to Watch in 2025

Introduction As we navigate through 2025, the technological landscape continues to evolve at an unprecedented pace. Innovations that once se...