You can never travel with an expired passport, if you are going to travel and your passport expires in 6 months you have to renew it as soon as possible.
I also have a question I saw the next day in the news k here we could pay the social blindness of el salvador someone has a little more information
Thanks! Your answer is awaiting moderation.