Call to undefined method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tony DeLouise
    New Member
    • Oct 2010
    • 2

    #1

    Call to undefined method

    I am getting the following error:

    Fatal error: Call to undefined method PropertyRequest ::addBasic() in /home/content/m/a/r/maryntony/html/create.php on line 96

    Line 96 in create.php

    Code:
    	//New client. Add the request to the database.
    	$property_request_obj->cr_by = $_SESSION['userid'];
    	$property_request_obj->company_id = $_SESSION['_COMPANY_ID'];
    
    	/**
    	 * Try to add the new request to the database.
    	 * If there is a problem, show an error message.
    	 */
    
    $query_zillow = $property_request_obj->addBasic($error_message);

    property_reques t_obj->addBasic
    code is in the attached txt.

    Everything looks good to me - At this point, I need some help.
    Attached Files
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    could you post the entire class definition?

    Comment

    Working...