Soreness in the area near the liver may be related to the disease hepatitis. Also, since the gallstone is in this area you may have a problem with gallstones.
A sore liver could be a symptom of multiple things. It could mean that you are consuming too much alcohol or you have a bad virus. It could also mean your body absorbed some sort of poison or that you may have Mono.
It could result from a lot of things, but some form of liver disease is the most likely choice. This could include hepatitis, cancer, or several other possibilities.
It could be a virus or a more serious condition like Hepatitis. Have a complete blood count performed at your doctor's, which will pick up most problems.