title: call to undefined function View::fetch cakePHP
body: <p>I started experimenting with CakePHP version 2.x, I created a default.ctp layout file in View/Layouts inside of which I have codes like:</p>
  
  <pre><code>echo $this-&gt;fetch('css');
  </code></pre>
  
  <p>but I keep getting the following error:</p>
  
  <pre><code>Fatal error: Call to undefined method View::fetch() in C:\wamp\www\.......
  </code></pre>
  
  <p>I tried creating a block for this css in my view file like:</p>
  
  <pre><code>$this-&gt;start('css');
  $this-&gt;Html-&gt;css('home_page', null, array('inline' =&gt; false));
  $this-&gt;end();
  </code></pre>
  
  <p>But when I do this I get the following error:</p>
  
  <pre><code>Fatal error: Call to undefined method View::start() in C:\wamp\www\.......
  </code></pre>
  
  <p>Any help please?!!!</p>
  
  <p>Thank you</p>