Closed zaksmok closed 8 years ago
Do you get the same error if you use the following?
$user = Model::factory('User')->find_one(1);
echo $user->full_name();
Yes. The same error
I double checked the code and i found that I caused that error. I was changing find_one() to findOne() in my controller files and by mistake i changed that function in Paris.php. Sorry for trouble, you can close ticket.
As written in docs I'm trying to create own model with custom methods:
Result: