Weird bug regarding the_excerpt()

You are possibly in a secondary loop within a page, in which case you would do well to pass the ID of the post excerpt that you’re trying to get. if ( get_the_excerpt($real_id_of_post_you_want_the_excerpt_for) ) { the_excerpt( $real_id_of_post_you_want_the_excerpt_for ); }