Armor bug. Some items don't count for armor

I was in Torment 4, pushing pits etc… I logged on one night and took out my occult gems so I could updrage them - my armor was suddenly at 277. I take the occult gems back out and I’m suddenly down from ~1400 to 0.

I’ve tried relogging, re-equipping everything, etc etc.

Definitely a bug, and a damn annoying one.