ANYONE who experiences prolonged diarrhea is in danger of dehydration and electrolyte imbalances...regardless of the reason for the diarrhea. This includes diarrhea resulting from the use of laxatives or salts such as those found in various cleanses. Replacement of fluids and electrolytes is simple and necessary to maintain or improve health during a cleanse.
Your problems were not caused by the liver flush. They were the result of not addressing the results of your prolonged diarrhea by consuming more water and replacing minerals, including trace minerals.