From the day, i changed my theme to xstore im getting very frequently error “error establishing database connection” this error happens whenever i tries to change anything for eg. uploading a new product, once I publish it gets me an error on front end and backend, once I refresh the page error goes away.
This hasn’t been happening if I switch to different theme. Regarding this i have contacted my hosting there response was
If you switch themes and you are not seeing any errors than it is related to a particular theme only. You should contact the theme developer regarding this.
Feel free to get back to us if you need any further assistance.