Jump to content

Archived

This topic is now archived and is closed to further replies.

Stealth1

"Fatal error: Using $this when not in object context in /store/account_history_info.php on line 243")

Recommended Posts

A customer just informed me they received this error when clicking the "View" button in the "View Order History" page. I have a tracking number contribution installed and i'm wondering if this is happening because of this as at the time the tracking number may not have been updated. Any and all help is appreciated.

 

"Fatal error: Using $this when not in object context in /store/account_history_info.php on line 243")

Share this post


Link to post
Share on other sites

Line 243 reads as below

 

    $this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) . substr($order->info['cc_number'], -4);

Share this post


Link to post
Share on other sites

That line isn't in the standard account_history_info.php from RC2a. What contribution number is "Fancier Invoice"? Does it have a support topic?

Share this post


Link to post
Share on other sites

×