Over a year ago my husband was diagnosed with a non-functioning gall bladder, the only symptom was a constant ache under his ribs on the right side.  He could live with that, but now for the past eight days hes had the ache with heartburn, headache that causes nausea when he walks around.  Could this be from his gall bladder problem.  His throat is raw from the heartburn and nothing he takes helps.  Hes 62 years old.
No, headache that cause nausea cannot be due to non-functioning gall bladder yes nausea can be associated with a constant ache under his ribs on right side as described by you and heartburn can also be associated with gall bladder diseases due to indigestion, acidity and re-flux of acid into esophagus etc. Headache that causes nausea when he walks around may be due to high blood pressure so kindly to evaluate for hypertension please go and see a doctor. Thanks