Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Stealth1

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")

Link to comment
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);

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...