Jump to content

M4 PDF: divide by zero error


Recommended Posts

I have an active but private website that is using the M4 PDF module for custom packing slips. It is working perfect in all order except for one. Trying to retrieve the slip for order #194 shows the following error in the browser:

 

-------------

Warning: Division by zero in /home2/website/public_html/modules/m4pdf/M4OrderDetail.php on line 194

 

Warning: Cannot modify header information - headers already sent by (output started at /home2/website/public_html/modules/m4pdf/M4OrderDetail.php:194) in /home2/website/public_html/modules/m4pdf/mpdf/mpdf.php on line 7093

mPDF error: Some data has already been output to browser, can't send PDF file

-------------

 

+ The problem is only on this order, every other one that I have tried works as it should.

+ I had to change the shipping address on this order per the customer's request. This was handled through Orlique Order Manager

 

Any thoughts?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...