title: Fuel\Core\PhpErrorException [ Notice ]: Trying to get property of non-object
body: <p>C:/wamp/www/bayadko/fuel/app/views/admin/parents/view.php @ line 1</p>
  
  <p>This is my view.php</p>
  
  <pre><code>&lt;h2&gt;Viewing #&lt;?php echo $parent-&gt;id; ?&gt;&lt;/h2&gt;
  &lt;p&gt;
     &lt;strong&gt;User id:&lt;/strong&gt;
      &lt;?php echo $parent-&gt;user_id; ?&gt;&lt;/p&gt;
  &lt;p&gt;
   &lt;strong&gt;Password:&lt;/strong&gt;
   &lt;?php echo $parent-&gt;password; ?&gt;&lt;/p&gt;
  
  &lt;?php echo Html::anchor('admin/parents/edit/'.$parent-&gt;id, 'Edit'); ?&gt; |
  &lt;?php echo Html::anchor('admin/parents', 'Back'); ?&gt;
  </code></pre>
  
  <p>This is my index.php in view</p>
  
  <pre><code>  &lt;?php foreach ($parents as $parent): ?&gt;
  
    &lt;h3&gt;&lt;?php echo Html::anchor('admin/parents/view/'.$parent-&gt;user_id, $parent-&gt;password) ?&gt;&lt;/h3&gt;
    &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>My parents.php in classes/controller</p>
  
  <pre><code>public function action_index()
    {
       $data['parents'] = Model_Parent::find('all');
       $this-&gt;template-&gt;title = "Parents";
       $this-&gt;template-&gt;content = View::forge('admin/parents/index', $data);
  
    }
  </code></pre>