2

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

enter image description hereenter image description here

  • Weird... try clearing out craft/storage/runtime/cache and see if that helps. – Brad Bell Oct 17 '17 at 17:49
  • Thank you that worked. But do you have any idea why that happened? – rcho Oct 18 '17 at 9:04
  • No idea... added an answer. Maybe just keep an eye out to see if it's a recurring issue or a one-time problem. – Brad Bell Oct 18 '17 at 17:43
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.

|improve this answer|||||
  • Happened to me when my machine crashed (BSOD) – nitech May 20 '19 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.