class User extends ActiveRecord\Model
{
pubic static $primary_key = 'userId';
private function isUserLoggedIn() {}
}
The error I get:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: lib/Model.php
Line Number: 830
This is a few months late, but I'm just getting into php-activerecord myself.
Your problem might be that you typed "pubic" instead of "public", and php by default doesn't support any pubic variables.