WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] JavaScript error while logging in (wp-login.php)

[Resolved] JavaScript error while logging in (wp-login.php)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    I think that the error is coming from your custom logo plugin. When I look at the source code I see this:

    <script type="text/javascript">
        //<![CDATA[
        window.onload = function() {
    	try {
    		var obj = document.getElementById('login'); if (obj) { obj.firstChild.firstChild.style.background = 'url(http://www.houtskoolportret.nl/wp-content/plugins/custom-logo/houtskoollogo_beheer.png) no-repeat center'; }
    	}
    	catch (e) {
    		var message = (e.description) ? e.description : e;
    		alert(message);
    	}
        };
        </script>

    I think that’s the code that creating the error.

    You are brilliant! That was indeed the cause of the error. I’ve installed another plugin for the logo, and no problems so far. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] JavaScript error while logging in (wp-login.php)’ is closed to new replies.
Skip to toolbar