I've recently had to restore a website after a server crash. I have the majority of the website back up and running.
The problem comes when I flush the cache or disable a module. Images that were being displayed become missing. Looking at Chromes inspector it appears Drupal is looking in the wrong location.
Instead of looking in
sites/default/files/styles/footer_blog/public/blog_images?itok=_ZPwwAOU it's looking in
sites/default/files/styles/footer_blog/public/?itok=_ZPwwAOU. The images doesn't appear in the edit form either, although I know it's in the directory (
The only thing that seems to cure it, is to restore the database but again when I flush the cache the same problem arises.
I appear to get the following error also
Warning: array_key_exists() expects parameter 2 to be array, null given in theme_image_formatter() in the file