Error 500 on category page and homepage after upgrade to 2.6

I have seen this once, the issue was that the category images were missing. Discourse tries to retrieve their dimensions and fails.

You might try to remove any category images.