Yes finally the problem was that the hosting provider had blocked the admin-ajax.php file saying that this file was receiving too many request, and requests to this file bypasses cache , hence it was causing problems on server 🙂
So now i’ll have to ‘convince’ them to turn it back on.
Thank you all for helping..