Fatal error while printing invoice PDF

I am having an issue while attempting to generate “Print invoice PDF” while view an order. Can anyone help?



I’m using version 2.0.14



Here’s the error:



Fatal error: Call to a member function apply() on a non-object in /home/XXXXX/public_html/lib/html2pdf/box.php on line 117

I didn’t meet this error when I used 2.0.14 to Print invoice PDF.



Try to upload box.php 1st to see what happen?