title: CodeIgniter cache makes 2 files, one with errors and other right one - Why? What does this happen?
body: <p>I cache one page with CodeIgniter. And it creates two files in cache folder. One that is right, like it should be. And second one has many errors </p>
  
  <p><code>Message:  Trying to get property of non-object</code> </p>
  
  <p>and </p>
  
  <p><code>Message:  Undefined offset: 0</code> </p>
  
  <p>in lines where I get data send to this view like </p>
  
  <p><code>&lt;?= $post[0]-&gt;data_dodania; ?&gt;</code></p>
  
  <p>In browser I see the right one. Good cached page. without any errors. But in cache folder I get this two files, good one and bad one to the same page.</p>
  
  <p>Why? What is this about?
  Why cache is generating two files, bad and good one?</p>
  
  <p>and code in Controller: PRINT SCREEN
  <a href="https://i.stack.imgur.com/cE5r6.png" rel="nofollow noreferrer">and code in Controller</a></p>
  
  <p>Cache Files: PRINT SCREEN: <a href="https://i.stack.imgur.com/NwZWz.png" rel="nofollow noreferrer">Cache Files: PRINT SCREEN</a></p>
  
  <p>And what are these names? <code>93f498562c1788597009057fb11067eb</code>, <code>ec09f491c06d849fa4be87aaaca3c489</code> ? Why ? I thought it should be controller_name+function_name, not... something like this?
  Files named like that without extension</p>