Enlightenment doesn't promise that you'll ever be free of problems, even once you attain it. It only promises that your problems won't bother you anymore. As your mind opens, you start to see problems as the naturally occurring impermanence and suffering. That's the nature of reality itself.