Answers.Body: <p>Also make sure your Cache option is set to OFF in MAMP > Preferences > PHP. I think it defaults to OPCache which can cause problems with local development if it set to on.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-14T15:26:30.563Z
Answers.LastActivityDate: 2016-09-14T15:26:30.563Z
Answers.UserDisplayName: Ant Cooper
Answers.Body: <p>Ok I have resolved this by deleting all the cache files in the craft|storage|runtime|cache folder. But whilst this has worked my question is now why did it happen. Not something I want to experience on a live site?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-09T10:39:35.893Z
Answers.LastActivityDate: 2016-09-09T10:39:35.893Z
Answers.UserDisplayName: Lettie
Body: <p>I have just gone back to a site I am working on locally to continue working on it. 2 days ago it was working fine and I have made no changes. I now have this error when I load the homepage.</p>
  
  <p>unserialize(): Error at offset 0 of 24 bytes</p>
  
  <p>C:\Websites\website\craft\app\framework\caching\CCache.php(108)</p>
  
  <p>Anyone have any idea why this has happened and how to fix it as I say nothing had changed with the files or with the MAMP install.</p>
  
  <p>Cheers</p>
  
Tags: <cache><error>
Title: Error on homepage of local server no changes made since last working?
ThreadText: # Error on homepage of local server no changes made since last working?
  
  (Asked by: username_0 on 2016-09-09)
  
  I have just gone back to a site I am working on locally to continue working on it. 2 days ago it was working fine and I have made no changes. I now have this error when I load the homepage.
  
  unserialize(): Error at offset 0 of 24 bytes
  
  C:\Websites\website\craft\app\framework\caching\CCache.php(108)
  
  Anyone have any idea why this has happened and how to fix it as I say nothing had changed with the files or with the MAMP install.
  
  Cheers
  
  **Tags:** cache, error
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-09-14. Score: 1
  
  Also make sure your Cache option is set to OFF in MAMP > Preferences > PHP. I think it defaults to OPCache which can cause problems with local development if it set to on.
  
  
  ---
  
  ### Answer by username_0 on 2016-09-09. Score: 1
  
  Ok I have resolved this by deleting all the cache files in the craft|storage|runtime|cache folder. But whilst this has worked my question is now why did it happen. Not something I want to experience on a live site?
  
  
  ---
  
  