Travis Barker's weekend was an emotional roller coaster in El Paso -- it started with plans to visit a friend in prison and then rock out with his band ... but his band ended up in lockdown across the street from the slaughter as he was miles away visiting a friend in prison.
As you know, a gunman with an assault rifle opened fire Saturday morning at a Walmart in El Paso, TX ... killing 22 and injuring many others.
Blink-182 was in town for a show, and Mark Hoppus tweeted they were about to head to the mall where the massacre took place when they got word their hotel was on lockdown.
we are locked down in our hotel in el paso. over the intercom system they just announced that there are reports of another active shooter directly across the street at a location different from the first shootings.
Barker wasn't with the band ... he had traveled 250 miles to visit rapper 03 Greedo at the Fort Stockton prison.
We're told Travis promised his friend he'd visit him whenever he was in Texas and made plans in advance to see him before the Blink concert. We're told he was at the prison visiting Greedo at the time of the shooting ... but didn't get word of it until after he left.
Travis was horrified at the news, but thankful his bandmates and the crew were okay. Blink-182 postponed its show out of respect and to show solidarity with the community.
As for Greedo -- we're told he's doing well behind bars and is staying positive and healthy. He's currently serving a 20-year sentence on drug and gun charges.
Despite his incarceration ... he and Travis dropped an EP together last month called "Meet the Drummers."