title: Kohana3 - ErrorException [ Notice ]: Undefined index: id - Error calling Auth::instance()
body: <p>I've now a Problem with the newest Version of KohanaPHP (kohanaphp.com).</p>
  
  <p>After I've registered me and logged in into my test page, some minutes later, there is now the error:</p>
  
  <p><strong>ErrorException [ Notice ]: Undefined index: id</strong></p>
  
  <pre><code>MODPATH/orm/classes/kohana/orm.php [ 1316 ]
  1311   *
  1312   * @return  mixed  primary key
  1313   */
  1314  public function pk()
  1315  {
  1316   return $this-&gt;_object[$this-&gt;_primary_key];
  1317  }
  1318 
  1319  /**
  1320   * Returns whether or not primary key is empty
  1321   *
  </code></pre>
  
  <p>I've searched a lot in Google, but i never found an answer, the Problem now is, that I cant reloggin to get a new instance, because I've to call Auth::instance()->login() again, and Auth::instance() is not callable.</p>
  
  <p>Whats todo now, how can I fix it, is there already a new Version of ORM or Auth Module?</p>
  
  <p>Thanks everybody
  Ahmet</p>