Support » Plugin: WPS Hide Login » There has been a critical error on this website.

  • Resolved kruddock

    (@kruddock)


    When I tried to log into our live site today I started getting this message. I took a look at the WordPress core files and can see that changes were made to wp-login.php for version 5.7 which is what we just completed updating to.

    After disabling your WPS Hide Login plugin, I was able to see a login page and happy to report that the “There has been a critical error on this website.” has vanished.

    I have your latest version 1.85 installed. It supposed to be compatible with WordPress 5.7, but I can tell you first hand there is a problem somewhere with your plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author NicolasKulka

    (@nicolaskulka)

    Hello,

    Have you looked at the 500 error in your PHP log errors that you got?

    Thread Starter kruddock

    (@kruddock)

    Hello,

    After enabling debug, my debug.log file contains this:

    [22-Mar-2021 19:35:16 UTC] PHP Fatal error: Cannot redeclare retrieve_password() (previously declared in /chroot/home/ourwebsite/html/ourrenamedlogin.php:336) in /chroot/home/ourwebsite/html/wp-includes/user.php on line 2834

    What are your thoughts?

    Apparently, other plugins are suffering the same fate after WordPress upgrade to 5.7 https://wordpress.org/support/topic/cannot-redeclare-retrieve_password/

    • This reply was modified 1 month, 2 weeks ago by kruddock.
    Plugin Author NicolasKulka

    (@nicolaskulka)

    Problem in your file /chroot/home/ourwebsite/html/ourrenamedlogin.php:336

    Thread Starter kruddock

    (@kruddock)

    Hello,

    Are you saying that your plugin does not generate this file? I thought that was it’s purpose? Do I need to re-create this file from the wordpress core? It’s been awhile so I’m not sure on the steps.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.