title: Turn off notices in cakePHP
body: <p>I am new with cakePHP. I facing issue with notice on live server. I want to suppress or turn off these notices. I have tried adding,</p>
  
  <pre><code>error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
  </code></pre>
  
  <p>in the <i>index.php</i> file in main folder. Also added same in <i>bootstrap.php</i> file but no luck. Can anybody suggest me how I can do this. </p>