This worked for me. That is:
Go to …/server/moodledata/.
You'll find (among others) two folders: cache and sessions.
Delete the contents of these two folders. (I didn't have to restart the browser, a simple refresh worked for me).
I'm just adding this answer to this old thread because this problem still occurs [I'm using Moodle 3.1 (the latest version at the time of writing this) on Windows 7].
Installing and upgrading help
Installation sticking at a certain spot & freezes? Help please.
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.