Yes it may be associated. Not a side effect, it may be effect of Domperidone in Pan-D, so stop it.
Next Steps
take ORS, hydrate well, take curd. pre-probiotics are good for the gut.
Health Tips
If a fever is also present then you may need to take antibiotics. any issues can be discussed further.