Just in graphene.
I found out the problem, it was because some posts in these two sites contained ‘[‘ character so after migrating from old version of wordpress to wordpress 4.0 these posts couldn’t be opened.
When I modified these posts with the html representation of the square bracket character, posts were displayed normally, then I tried to reapply the theme and it was applied without any problem.