An Uno uses an ATmega328P, not a ATmega328PB. So I'm not sure how this is supposed to work, and there is probably more to the error message than wjat you posted.
Your topic has nothing to do with Installation and Troubleshooting and hence has been moved (again); please leave it where it is now.
The code is apparently written for a 328PB which has a "TWBR1" register but, the compiler is being told your "UNO" has a 328P. The equivalent register on a 328P is named "TWBR". You need an Arduino core that supports the 328PB. Perhaps this one: