Title: Php warning after enabling login script Warning: Undefined variable $user_login
Last modified: November 26, 2022

---

# Php warning after enabling login script Warning: Undefined variable $user_login

 *  Resolved [ram130](https://wordpress.org/support/users/ram130/)
 * (@ram130)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/)
 * Hello
 * I’m using your feature to hide the login url. When I turn the feature on and 
   place my custom url, and go to it, I’m getting php warning errors. I am still
   able to login to the website no issues, but the 3 warnings are present on the
   login page and prefilled on the username entry too. I don’t have an issue with
   other hide login plugins. I also noticed the page is slow load after the change.
 * The error: Warning: Undefined variable $user_login in
    Version 2.98 | By CleanTalk
   Security Php version: 8.1.12
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-after-enabling-login-script-warning-undefined-variable-user_login-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16236985)
 * Hello, [@ram130](https://wordpress.org/support/users/ram130/).
 * We will test the plugin in our environment to troubleshoot the issue within 3
   business days and inform you of the results.
 * Please, wait.
 *  Thread Starter [ram130](https://wordpress.org/support/users/ram130/)
 * (@ram130)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16237462)
 * Copy, I’ll wait.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16247493)
 * Hello and thank you for waiting.
 * We have fixed the issue. Please, re-install the CleanTalk plugin from this archive:
   
   [https://gofile.io/d/ThUTxr](https://gofile.io/d/ThUTxr)
 * The update guide is here:
    [https://cleantalk.org/help/update-wordpress-security](https://cleantalk.org/help/update-wordpress-security)
 * Did it help you?
 *  Thread Starter [ram130](https://wordpress.org/support/users/ram130/)
 * (@ram130)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16249994)
 * Thank you, you guys are amazing. This update fixed the issue. Not sure if it 
   improved performance of the login screen yet, but will monitor and create a new
   post if anything. Many thanks again!
 *  Thread Starter [ram130](https://wordpress.org/support/users/ram130/)
 * (@ram130)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16263820)
 * Update, speed issue is fixed
 *  Plugin Support [dimitrycleantalk](https://wordpress.org/support/users/dimitrycleantalk/)
 * (@dimitrycleantalk)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16263878)
 * Hello, [@ram130](https://wordpress.org/support/users/ram130/)
 * Glad to hear it!
 * Write to us anytime.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Php warning after enabling login script Warning: Undefined variable $
user_login’ is closed to new replies.

 * ![](https://ps.w.org/security-malware-firewall/assets/icon-256x256.gif?rev=3518712)
 * [Security Plugin, Firewall & Malware Scanner with Auto Removal](https://wordpress.org/plugins/security-malware-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/security-malware-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/security-malware-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/security-malware-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/security-malware-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/security-malware-firewall/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 6 replies
 * 3 participants
 * Last reply from: [dimitrycleantalk](https://wordpress.org/support/users/dimitrycleantalk/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-after-enabling-login-script-warning-undefined-variable-user_login-2/#post-16263878)
 * Status: resolved