internal server error after deleting thumbnails image-style
After some googling I saw a similar error on Drupal.org

https://www.drupal.org/node/2836162

Check the last few comments. It might be related to Media Entity