Getting an error when placing an order using the "email" payment gateway

Permalink Browser Info Environment
I love this add on, however I just moved the site from a demo server to a live server and updated the version of the add on to the latest version but now when placing an order I'm getting the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home/persuade/public_html/packages/jb_ecommerce_express/mail/customer_notification.php:5) in /home/persuade/public_html/packages/jb_ecommerce_express/blocks/jb_ecommerce_express/tools/sendorderemail.php on line 78

Fatal error: Using $this when not in object context in /home/persuade/public_html/packages/jb_ecommerce_express/blocks/jb_ecommerce_express/tools/sendorderemail.php on line 93

Type: Discussion
Status: In Progress
emmapike31
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi Emma,

It looks like there is an error in the customer notification template. May I know what have you added or modified on that file? Also, can you send me your ftp details so I can take a closer look and might be able to resolve faster via Private Message.

JZ
purecreative replied on at Permalink Reply
purecreative
Hi JZ,

I have a similar issue with commerce express

PHP Fatal error: Using $this when not in object context in /public_html/packages/jb_ecommerce_express/blocks/jb_ecommerce_express/tools/sendorderemail.php on line 114

This occurs every time an email is sent through the email purchase/bank transfer option.

Any help would be appreciated

Thanks
jb1 replied on at Permalink Reply
jb1
Hi

It sounds like an old version of eCommerce Express. May I know the version you are using? This should be fixed in the latest version of eCommerce Express. Have you tried upgrading?

JZ
purecreative replied on at Permalink Reply
purecreative
Hi JZ,

I tried upgrading to the latest version in the admin but the problem persists. Same error, same line of code, could that indicate that it hasn't actually updated? Or could it be something else?

Thanks
jb1 replied on at Permalink Reply
jb1
Hi

Have you tried clearing your C5 Cache and test again?

Regards,
JZ

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.