Do you still have your gall bladder? If so, then you need to get it functioning again. Finding a LLMD and getting in to see them would be a good place to start, as they won't do anything that will possibly set you backwards.
Your liver is what makes the bile, so your liver is struggling, as we have already figured out for you. The gall bladder stores excess bile and is supposed to release some each time you eat to help digest fats and fat soluable vitamins.
Since this isn't happening every time you "go", I would say it's not an emergency, but it's definitely something you should bring up with the LLMD at your first appt.
Also eat foods that will help the liver, and use milk thistle if you aren't allergic to rag weed. Garlic, grapefruit juice and a few others mentioned in the article below:
www.naturalnews.com/035946_liver_cleanse_foods.html