Title: wp-login loop
Last modified: August 30, 2016

---

# wp-login loop

 *  Resolved [Peter Ould](https://wordpress.org/support/users/pould/)
 * (@pould)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/)
 * I’m having a problem with logging into the backend of a WP installation.
 * I moved the installation to a new server – everything else stayed the same. The
   server is a VPS running Plesk and I’ve hooked up the Plesk services for WP.
 * When I try to login into wp-login or wp-admin, it just enters a continuous redirect
   loop. Enter username and password again and again, just get the same login screen.
 * Things I have done:
 * i) Checked the access in .htaccess
    ii) Checked the URL inside wp-options MySQL
   table iii) Switched to another theme to check if that is issue iv) Cleared the
   cache in the WP installation v) Used another browser and then another PC to check
   browser cookie / cache issues vi) Run in debug mode – I get this report:
 * —
 * Notice: wp_register_style was called incorrectly. Scripts and styles should not
   be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts,
   or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information.(
   This message was added in version 3.3.) in /var/www/vhosts/peter-ould.net/httpdocs/
   wp-includes/functions.php on line 3787
 * Notice: wp_register_style was called incorrectly. Scripts and styles should not
   be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts,
   or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information.(
   This message was added in version 3.3.) in /var/www/vhosts/peter-ould.net/httpdocs/
   wp-includes/functions.php on line 3787
 * Notice: The called constructor method for WP_Widget is deprecated since version
   4.3.0! Use
 * __construct()
 * instead. in /var/www/vhosts/peter-ould.net/httpdocs/wp-includes/functions.php
   on line 3619
 * —
 * Still haven’t found a solution – any help gratefully received.

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849356)
 * Please check if ALL your plugins and your current theme is up to date.
 *  Thread Starter [Peter Ould](https://wordpress.org/support/users/pould/)
 * (@pould)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849557)
 * Hi Tara,
 * Been away for two days so just checked this now.
 * I can confirm that all the plugins are up to date , as is the current theme.
 * Still getting exactly the same error message.
 *  Thread Starter [Peter Ould](https://wordpress.org/support/users/pould/)
 * (@pould)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849558)
 * I’ve had some time this morning to play with the plugins. The error message above
   is caused by a Disqus Comments widget – once that is removed then the error vanishes
   but the wp-login loop still remains.
 *  Thread Starter [Peter Ould](https://wordpress.org/support/users/pould/)
 * (@pould)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849601)
 * I’ve solved this!!! The problem was caused by a deprecated version of PHP on 
   my new VPS. Setting the domain to 5.6 allowed the security plugin to operate 
   correctly and I was in to the dashboard!
 *  Thread Starter [Peter Ould](https://wordpress.org/support/users/pould/)
 * (@pould)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849602)
 * The plugin was Ninja Firewall WP Edition – have added this comment so others 
   searching can see my solution.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849603)
 * Glad to know it 🙂

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

The topic ‘wp-login loop’ is closed to new replies.

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/wp-login-loop-1/#post-6849603)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
