• Resolved Peter Ould

    (@pould)


    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

    (@t-p)

    Please check if ALL your plugins and your current theme is up to date.

    Thread Starter Peter Ould

    (@pould)

    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

    (@pould)

    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

    (@pould)

    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

    (@pould)

    The plugin was Ninja Firewall WP Edition – have added this comment so others searching can see my solution.

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp-login loop’ is closed to new replies.