It is saying $this->Billings is not an object.... try singular - $this- >Billing->findByFromApplication()
On Jan 8, 12:54 pm, "Louie Miranda" <[email protected]> wrote: > Guys, > > I have a field name from_application and I tried to do a: > > $results = $this->Billings->findByFromApplication('10'); > print_r($results); > > Well, the result I am getting is Undefined property: > BillingsController::$Billings [*CORE/app/controllers/billings_controller.php > *, line *70*] > > *Fatal error*: Call to a member function findByFromApplication() on a > non-object in */web/app/controllers/billings_controller.php* on line *70* > > Which is weird? Any ideas? Please help! > > -- > Louie Miranda ([email protected])http://www.louiemiranda.net > > Security Is A Series Of Well-Defined Steps > chmod -R 0 / ; and smile :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
