Using TCPDF results in an HTTP internal server error.
The Apache error log shows:
PHP Fatal error: Call to undefined method PrintTCPDF::AliasNbPages() in /mysite/sites/all/modules/print/print_pdf/print_pdf.pages.inc on line 289
TCPDF seems to be installed correctly. In the adminstration page the tcpdf.php is found in /mysite/sites/all/modules/print/lib
Drupal core version is 6.22
TCPDF version is 5.9.089 (2011-06-13)
Maybe recently changed? I did not use TCPDF previously.

Comments

cvw’s picture

Problem solved:
One hour ago in TCPDF version 5.9.090 method AliasNBPages was added back in again for backward compatibility. However, this method seems deprecated.

jcnventura’s picture

Status: Active » Fixed

I also removed the call, as this is currently doing nothing. Thanks for reporting this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.