Unhandled Error!

Trying to get property of non-object
Document modules/payment/classes/payment_actions.php
Document type PHP document
Line 23
Exception class Phpr\PhpException

Code Highlight

																}
															 
																public function invoice()
																{
																	$invoice = $this->_pay_find_invoice(false);
															 
																	if ($invoice->user_id != $this->user->id)
																		$invoice = null;
															 
																	$this->data['invoice'] = $invoice;
																}
															 
																public function on_update_payment_type()
														

Call Stack

# Code Document Line
12 Payment_Actions->invoice(()) modules/cms/classes/cms_action_manager.php 68
11 Cms_Action_Manager::exec_action('payment:invoice', object(Cms_Controller)) modules/cms/classes/cms_controller.php 168
10 Cms_Controller->eval_content(()) modules/cms/classes/cms_controller.php 61
9 Cms_Controller->open(object(Cms_Page), array(0)) controllers/application.php 51
8 Application->on_404(())
7 call_user_func_array(array(2) [0 => object(Application), 1 => 'on_404'], array(0)) framework/modules/phpr/classes/controller.php 118
6 Phpr\Controller->execute_action('on_404', array(0)) framework/modules/phpr/classes/controller.php 76
5 Phpr\Controller->_run('on_404', array(0)) framework/modules/phpr/classes/response.php 75
4 Phpr\Response->open_404(()) framework/modules/phpr/classes/response.php 49
3 Phpr\Response->open('/payment/invoice') framework/core/init.php 178
2 require_once('/home/bidignit/public_html/framework/core/init.php') framework/boot.php 97
1 require_once('/home/bidignit/public_html/framework/boot.php') index.php 10