Interesting, possibly controversial topic. I do not trust Dr. Google, but one of my two hernias became visible after deadlifts. Maybe it's been brewing for years.
I also know that I often err in holding my breath with heavy weights. Wrong technique, I know. I try to do it all correctly but sometimes forget, or just strain to my max to get it done like any ordinary foolish person.
Surgeon is going to fix them sooner. He says it's a myth about weights and hernias. He's a smart, experienced, and pleasant guy. Whatever. I'll do whatever he says.
Can lifting cause hernias?