Was the square your king moves through under attack by a piece or pawn? That also prevents castling.
Little Chess partner's Little problem !

Thanks for replying. No sir none of the pieces were under attack nor where any of the spaces in which they were going to to be in were under attack. I thought it was a bug I'm going to see if I can recreate its conditions

I don't think it does - I've seen somewhere a diagram with a new rook (after a pawn promotion) which has never moved; say it's on e8. So without rule 7, or something like it, you could try to 'castle' by moving your king to e3 and bringing the new rook to e2.

I figured it out it's just touchy java after being in checked by queen and blocked by bishop. Dumb...sorry . Thanks for the help anyway.
Dear Chess.com while playing a round I was put in check after all threats were eliminated and could then legally castle. I could not I was not in check nor was the place I was going to be in was in check whats the deal?
I just thought I would ask!
here is what Wiki thinks....but than this is your site so it is your rules. Wondering if this is intended by lokasoft. Can you help me?
Requirements
It is a common mistake to think that the requirements for castling are even more stringent than the above. To clarify: