Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello fyrboll,

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thanks.

    Thread Starter fyrboll

    (@fyrboll)

    Hi Kartik

    I cannot follow your tips, because I cannot login to the site…

    Hello fyrboll

    You can try to disable plugins via FTP

    https://codex.wordpress.org/Managing_Plugins#Uninstalling_Plugins

    Thanks.

    Thread Starter fyrboll

    (@fyrboll)

    I have deleted all plugins, and removed all themes except twenty*, and also uploaded a new wp-login.php but I still get the error:

    Fatal error: Uncaught Error: Call to undefined method WP_Error::has_errors() in /customers/c/2/8/fyrboll.se/httpd.www/fotoblogg/wp-login.php:58 Stack trace: #0 /customers/c/2/8/fyrboll.se/httpd.www/fotoblogg/wp-login.php(1045): login_header(‘Logga in’, ”, Object(WP_Error)) #1 {main} thrown in /customers/c/2/8/fyrboll.se/httpd.www/fotoblogg/wp-login.php on line 58

    pls advice

    Try to Update your wp-login file with default WordPress wp-login file.

    Thread Starter fyrboll

    (@fyrboll)

    As I wrote earlier, I have downloaded and installed a new wp-login.php in the directory…

    Hello fyrboll,

    Sorry if the suggestion didn’t work. In most of the case, it is due to some conflict.

    It is difficult to say what can be the root cause of this problem.

    Maybe it can due to the problem with core files try to install your themes and plugins in Fresh WordPress Install if that helps.

    Or kindly wait if someone else reviews this and has some better solution to this.

    Thanks.

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

The topic ‘cannot login to admin’ is closed to new replies.