If you can add a picture of the solder joints it should be possible to diagnose any physical issues.
Pictures of the encoder and buttons plus the header that links the PCB and RPi would be a good start.
In general check out how to reflow solder because best case you’ve got some bad joints.