Yes, I was able to solve it by searching all refereces to the old domain in the DataBase option table. In the Polylang option there was some data that Polylang stored that had the old domain. I simply changed that to the new domain and it worked.
Have The same problem. Does anyone know how to solve it? I run PHP 5.4.
Another thing: I am using XAMPP as my web server.