Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

CHECKOUT ERROR: Call to a member function on a non-object


Recommended Posts

Hi. I have a store up...not ready, but I was testing the checkout process and I am getting the following error:


Fatal error: Call to a member function on a non-object in .../checkout_process.php on line 102


I created a new customer and tested the checkout...no problems until I clicked confirm order.


line 102 in checkout_process.php is blank but here is what is below it:


require(DIR_WS_CLASSES . 'order_total.php');


$order_total_modules = new order_total;




$order_totals = $order_total_modules->process();




$sql_data_array = array('customers_id' => $customer_id,


'customers_name' => $order->customer['firstname'] . ' ' . $order->customer['lastname'],..........etc. etc. etc.


Hope you guys or gals can help me out..I am getting frustrated. much aloha and thanks in advance!

Link to comment
Share on other sites


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

  • Create New...