0

I am using the code on this page

and calling this WaterMark::applyAndSpit($fileWithFullPath);. The full error is

Warning: Missing argument 2 for WaterMark::applyAndSpit(), called in C:\wamp\www\pdf\pdfgen.php on line 89 and defined in C:\wamp\www\pdf\pdfgen.php on line 20
FPDF error: Cannot open

line 20 is seen on the code on that original page linked above. thanks

Community
  • 1
  • 1
hello-world
  • 1
  • 1
  • 2

1 Answers1

0

In the linked-to code, the function applyAndSpit takes two arguments, and apparently you are only supplying one.

Marc Rochkind
  • 3,678
  • 3
  • 30
  • 38