Viewing 6 replies - 1 through 6 (of 6 total)
  • I can not reproduce it on my installation. Which WordPress-version do you use? Did you enabled WP_DEBUG and WP_DEBUG_DISPLAY in wp-config.php to see this?

    Thread Starter nikputhu

    (@nikputhu)

    Hi Threadi,

    The version is WordPress 6.1.1 (latest I believe).

    I did not enable WP_DEBUG and WP_DEBUG_DISPLAY in wp-config.php to see this. It appears in the login box that appears on the dashboard when you log out or the login times out.

    We had installed Anti-Spam by CleanTalk. There were some issues with the login page after the installation. They made some changes. But this issue is occuring when that plugin is deactivated

    Warning: Undefined variable $user_login in /customers/9/9/b/website.com/httpd.www/wp-login.php on line 1502 Warning: Undefined variable $error in /customers/9/9/b/website.com/httpd.www/wp-login.php on line 1524

    • This reply was modified 1 year, 4 months ago by nikputhu.

    However, these messages are different from the first one you mentioned. At least 2 seem to have the same reason as they appear in the same section of the file.

    Nevertheless, as I said, I can not reproduce this in my case.

    The 6.1.1 is the latest wordpress version, see: https://wordpress.org/download/

    Since you see the message even though you don’t have debugging enabled in wordpress, I suspect that PHP error logging is enabled on your server. I also suspect that the PHP version you are using may be responsible for this. Which PHP version are you using? I have 8.0 – you should not use any version below that.

    Thread Starter nikputhu

    (@nikputhu)

    Thanks for trying anyway

    I’m having exactly the same issue on my site, line per line.

    Did you find a solution?

    Thread Starter nikputhu

    (@nikputhu)

    I have not been able to find a solution yet

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Undefined Variable On WordPress Login Page’ is closed to new replies.