Dan Kanze
Dan Kanze

Reputation: 18595

PHP TCPDF Undefined variable: l

Using a fresh install of TCPDF,
and a first run of example 1 @ http://www.tcpdf.org/examples.php
I'm getting "Undefined variable: l"

Thoughts?

Upvotes: 0

Views: 1073

Answers (1)

SamT
SamT

Reputation: 10630

It's probably this line:

//set some language-dependent strings
$pdf->setLanguageArray($l);

They expect you to populate it with some sort of language array first. Docs for that method: http://www.tcpdf.org/doc/classTCPDF.html#a2a7cc18749cac51d0efca5d491d9217c

Upvotes: 1

Related Questions