Answers.Body: <p>Sounds like something just got corrupted when saving to <code>craft/storage/runtime/cache</code> and now PHP/Craft is having a problem reading the corrupted data from cache.</p>
  
  <p>No idea how it happened, but clearing <code>craft/storage/runtime/cache</code> should resolve the issue for now.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-20T09:09:12.773Z
Answers.Text: Happened to me when my machine crashed (BSOD)
Answers.UserDisplayName: nitech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-18T17:42:50.820Z
Answers.LastActivityDate: 2017-10-18T17:42:50.820Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have never gotten this before when using Craft cms this is the first. </p>
  
  <p>When trying to load my site (locally), I am getting this message </p>
  
  <p><strong>unserialize(): Error at offset 0 of 24 bytes</strong></p>
  
  <p>I have attached some screenshots of what I am getting in more detail</p>
  
  <p>What am I suppose to do to fix this?</p>
  
  <p><a href="https://i.sstatic.net/X5lps.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/X5lps.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.sstatic.net/ulzMH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ulzMH.png" alt="enter image description here"></a><a href="https://i.sstatic.net/m3R7b.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/m3R7b.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-17T17:49:10.657Z
Comments.Text: Weird... try clearing out `craft/storage/runtime/cache` and see if that helps.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-18T09:04:46.570Z
Comments.Text: Thank you that worked. But do you have any idea why that happened?
Comments.UserDisplayName: rcho
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-18T17:43:19.873Z
Comments.Text: No idea... added an answer.  Maybe just keep an eye out to see if it's a recurring issue or a one-time problem.
Comments.UserDisplayName: Brad Bell
Tags: <cache>
Title: Caching Issue "unserialize(): Error at offset 0 of 24 bytes"
ThreadText: # Caching Issue "unserialize(): Error at offset 0 of 24 bytes"
  
  (Asked by: username_0 on 2017-10-17)
  
  I have never gotten this before when using Craft cms this is the first.
  
  When trying to load my site (locally), I am getting this message
  
  **unserialize(): Error at offset 0 of 24 bytes**
  
  I have attached some screenshots of what I am getting in more detail
  
  What am I suppose to do to fix this?
  
  [![enter image description here](https://i.sstatic.net/X5lps.png)](https://i.sstatic.net/X5lps.png)
  
  [![enter image description here](https://i.sstatic.net/ulzMH.png)](https://i.sstatic.net/ulzMH.png)[![enter image description here](https://i.sstatic.net/m3R7b.png)](https://i.sstatic.net/m3R7b.png)
  
  **Tags:** cache
  
  > **Comments:**
  > **username_1**: Weird... try clearing out `craft/storage/runtime/cache` and see if that helps.  
  > **username_0**: Thank you that worked. But do you have any idea why that happened?  
  > **username_1**: No idea... added an answer.  Maybe just keep an eye out to see if it's a recurring issue or a one-time problem.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-10-18. Score: 2
  
  Sounds like something just got corrupted when saving to `craft/storage/runtime/cache` and now PHP/Craft is having a problem reading the corrupted data from cache.
  
  No idea how it happened, but clearing `craft/storage/runtime/cache` should resolve the issue for now.
  
  > **Comments:**
  > **username_2**: Happened to me when my machine crashed (BSOD)  
  
  ---
  
  