Title: Fatal error
Last modified: January 25, 2020

---

# Fatal error

 *  Resolved [Mimi](https://wordpress.org/support/users/immeemz/)
 * (@immeemz)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3391/)
 * Hello. 🙂
 * Attempting to login with my renamed login URL generates this:
 * Fatal error: Call to undefined function switch_to_locale() in /blabla/wp-content/
   plugins/all-in-one-wp-security-and-firewall/other-includes/wp-security-rename-
   login-feature-pre-5-2.php on line 443
 * Stuck!! Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-3391%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3391/#post-12365502)
 * Hi, thank you for reaching out to us. I have submitted a message to the developers
   to investigate further this issue.
 * Thank you
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3391/#post-12365610)
 * Hi,
    For now if you still can’t login, simply manually deactivate the aiowps 
   plugin by following [these steps](https://wpsolutions-hq.com/aiowps-troubleshooting-recovery-tips/#locked-out).
 * Looks like the issue is coming from the renamed login page feature when you are
   using a version of **wordpress older than 5.2**.
 * After you’ve logged back in momentarily disable the rename login page feature.
   
   You should also consider upgrading wordpress to the latest version – I think 
   that will prevent that issue. If you can’t upgrade wordpress for whatever reason
   then leave the renamed login feature disabled until the next release of aiowps
   plugin – I will add a check to prevent this from happening.
 *  Thread Starter [Mimi](https://wordpress.org/support/users/immeemz/)
 * (@immeemz)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3391/#post-12369054)
 * Thank you both for your messages. This site is not hosted or managed by me so
   I am waiting on a “go-ahead” from my client to see if they want me to fix it 
   including the necessary upgrades. This might take a few days but if I have any
   further issues I will report back here. Thanks again for the great support!

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

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [Mimi](https://wordpress.org/support/users/immeemz/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-3391/#post-12369054)
 * Status: resolved