title: magento Call to a member function setOrder() on a non-object
body: <p>I am following <a href="http://www.about-magento.com/magento-model-database-tutorial-54" rel="nofollow">this</a> tutorial, trying to learn to make Magento extensions, however, in step 4, I get the following error:</p>
  
  <p><strong>Fatal error: Call to a member function setOrder() on a non-object in  C:\xampp\htdocs\magento\app\code\local\Pfay\Test\Block\Monblock.php on line 7</strong></p>
  
  <p>Am I doing something wrong? I am working on Magento 1.6.1</p>
  
  <p>Hosh</p>
  
  <p>PS: On a side note, anyone know a good tutorial on creation extensions?</p>