Cake 2 Error?

Error: Call to a member function findById() on a non-object
File: /hermes/bosnaweb04a/b2801/ipg.moneytraffickingcom/app/Controller/UsersController.php

<?php
App::uses(‘AppController’, ‘Controller’);
/**

  • BusinessExpense Controller
  • @property BusinessExpense $BusinessExpense
  • @property PaginatorComponent $Paginator
    /
    class BusinessExpenseController extends AppController {
    public function beforeFilter() {
    parent::beforeFilter();
    $this->Auth->allow(‘view’,‘index’,‘newabout’);
    }
    /
    *
  • Components
  • @var array
    */
    public $components = array(‘Paginator’,‘RequestHandler’);
    //public $uses = array(‘BusinessExpense’);

/**

  • index method
  • @return void
    */
    public function index() {
    $this->BusinessExpense->recursive = 0;
    $this->set(‘BusinessExpense’, $this->Paginator->paginate());
    pr($this->Paginator->paginate());
    $this->set(‘activeSidebar’,‘dashboard’);
    }

}
//// model
<?php
App::uses(‘AppModel’, ‘Model’);
/**

Hi,

According to this error message, the problem is in Users controller, but you seem to have posted the code for the BusinessExpense controller.

Thanks it does pay to look in the right area lol,