title: Zend Frameworks Quickstart find() methods Action and View
body: <p>I am attempting to extend the Zend Framework Quickstart tutorial by trying to make an individual view for each guestbook entry, but I am missing something and keep getting errors like:</p>
  
  <pre><code>Trying to get property of non-object in C:\wamp\www\quickstart.local\application\views\scripts\guestbook\display.phtml
  </code></pre>
  
  <p>I get this when trying the following for my displayAction and my display.phtml:</p>
  
  <pre><code>//view
  &lt;p&gt;&lt;?php echo $this-&gt;escape($this-&gt;entry-&gt;id); ?&gt;&lt;/strong&gt; &lt;a&gt;&lt;?php echo $this-&gt;escape($this-&gt;entry-&gt;comment); ?&gt;&lt;/a&gt;&lt;br&gt;
  &lt;?php echo $this-&gt;escape($this-&gt;entry-&gt;email); ?&gt;&lt;/p&gt;
  
  //action
  public function displayAction()
  {
  $id = $this-&gt;getRequest()-&gt;getParams('id');
  
  $entry = new Application_Model_GuestbookMapper();
  $this-&gt;view-&gt;entry = $entry-&gt;find($id);
  }
  </code></pre>
  
  <p>And the find() function in the mapper is as is from the tutorial.</p>
  
  <p>I have look all over the web and have only found tutorials that omit the quickstart guide's structure altogether. While they are all solid in their own right, I would like to find a solution to this. What am I doing wrong?</p>
  
  <p>I am about mid-level with php and a beginner with zend framework. Please keep that in mind when responding.</p>