After update from alpha1 to alpha2 is now on the administration site visible:

Notice: Use of undefined constant K_CELL_HEIGHT_RATIO - assumed 'K_CELL_HEIGHT_RATIO' in _print_pdf_tcpdf_version() (line 639 of /kunden/315861_22049/webseiten/drupal_7/sites/all/modules/print/print_pdf/print_pdf.module).

Comments

Joenet-dupe’s picture

Title: Notice: Use of undefined constant K_CELL_HEIGHT_RATIO - assumed 'K_CELL_HEIGHT_RATIO' w _print_pdf_tcpdf_version() » Use of undefined constant K_CELL_HEIGHT_RATIO - assumed 'K_CELL_HEIGHT_RATIO' in _print_pdf_tcpdf_version()
Joenet-dupe’s picture

Sorry, please ignore or delete my Comment #1

nathancollins44’s picture

Me Too!
After update from alpha1 to alpha2 I also get this Error on some of the administration overlays...

Notice: Use of undefined constant K_CELL_HEIGHT_RATIO - assumed 'K_CELL_HEIGHT_RATIO' in _print_pdf_tcpdf_version() (line 639 of /home8/kpcprodu/public_html/americanwrc/sites/all/modules/print/print_pdf/print_pdf.module).

?

Jeremy’s picture

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

What version of TCPDF are you using?? Please update to the latest one, if you're not using 5.9.109.

nathancollins44’s picture

Yes I do have 5.9.109 version of TCPDF

Notice: Use of undefined constant K_CELL_HEIGHT_RATIO - assumed 'K_CELL_HEIGHT_RATIO' in _print_pdf_tcpdf_version() (line 639 of /home8/kpcprodu/public_html/americanwrc/sites/all/modules/print/print_pdf/print_pdf.module).

bty, I think I only see this error message on the Configuration section of the administration overlay.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Fixed

Indeed.. I've fixed it in git now.

Thanks for reporting this..

Joenet-dupe’s picture

Sorry, but what is git?

jcnventura’s picture

git is the version control system to which I submit the code, which is also used by drupal.org to build the stable and dev packages..

Until I create a new stable package, you can find a version with this bug fixed in the dev version. However, the dev version is only created every 12/24 hours, so there is usually a delay between a fix and it's appereance in the dev version.

Status: Fixed » Closed (fixed)

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