[eluser]kgill[/eluser]
The answer is in your error messages:
Code:
Message: Undefined property: CI_Loader::$dealer
Message: Trying to get property of non-object
The loader says dealer doesn't exist, so $this->dealer isn't a viable option, which leads to the 2nd error if $this->dealer isn't there then you can't get the property $this->dealer->dealer because no object exists with that name.
If you had a library/model/whatever named dealer it wasn't loaded before you tried to access it.