Support » Fixing WordPress » JavaScript error while logging in (wp-login.php)

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


    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">
        window.onload = function() {
    	try {
    		var obj = document.getElementById('login'); if (obj) { = 'url( no-repeat center'; }
    	catch (e) {
    		var message = (e.description) ? e.description : e;

    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 ‘JavaScript error while logging in (wp-login.php)’ is closed to new replies.