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!

6 comments:


  1. Your all post are always great, Lots of thanks for sharing the best and useful information about website PHP. Thanks again!

    website design company in bangalore | website designers in bangalore

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! www.wirelessinnovationalliance.com

    ReplyDelete

Integrating Google reCAPTCHA v3 in HTML Form with PHP

  What is Google reCAPTCHA v3? Google reCAPTCHA is a free service that helps protect websites from spam and abuse. reCAPTCHA v3 is the lates...