Jump to content

Curious error in PDF when debug off


FAS

Recommended Posts

Hi,

I am running 1.6.1.17 on a live platform and on the same server a development system, theoretically with the same files and copy of the database.

On the live system when I have debug set to false I get an error generating a pdf of the delivery slip from the BO:

Notice: Undefined variable: order in /home/sites/mysite.com/public_html/override/classes/pdf/HTMLTemplateDeliverySlip.php on line 80 Notice: Trying to get property of non-object in /home/sites/mysite.com/public_html/override/classes/pdf/HTMLTemplateDeliverySlip.php on line 80; which then cascades into multiple errors of the same type.

However, if I set debug to true everything works as it should!!

Worse still, I can't replicate this on the development system!

Any help would be apreciated before I loose all my hair!!

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...