Click on the barrels in combat mode; this will smash them without setting off the traps.
When I got to that point I was either a little higher level or had better resistances, because I didn't take that much damage from the traps (I ate a couple pieces of meat, and maybe a potion).