I met the same problem. I fixed it at the moment by adding:
<script type="text/javascript"> console.firebug=true;</script>
before downloading the openlayer script.
reason: console.log used to work in a previous version of Openlayer, but not now, so I checked the found source code:
if (! window.console ||! console.firebug) {...
which means that I think that if there is no FIREBUG console, the console will be cleared and overwritten.
I think it should be a mistake, so I just did not go into it and try to fix it as soon as possible, expecting an error fixed by the Openlayer guy.
Hope this works for you, if not, let me know.
source share