Title: Cannot access admin panel
Last modified: April 3, 2021

---

# Cannot access admin panel

 *  [buzdar1](https://wordpress.org/support/users/buzdar1/)
 * (@buzdar1)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cannot-access-admin-panel-12/)
 * I am facing the following issues on my site.
    1. When I try to login to wp-admin,
   it says that “There has been a critical error on this website.
 * Learn more about troubleshooting WordPress”
    2. The second issue is with the 
   posts “only title of the post id visible but no content (body) of the post is
   visible. I tried everything including renaming and deactivating plugin and themes
   through my Cpanel but nothing is working.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-access-admin-panel-12%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cannot-access-admin-panel-12/#post-14273226)
 * Let’s focus on item 1 for now.
 * Try [downloading WordPress](https://wordpress.org/download/) again, access your
   server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and delete then replace your
   copies of everything on the server **except** the wp-config.php file and the /
   wp-content/ directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings.
 * Some uploaders tend to be unreliable when overwriting files, so don’t forget 
   to delete the original files before replacing them.
 *  Thread Starter [buzdar1](https://wordpress.org/support/users/buzdar1/)
 * (@buzdar1)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cannot-access-admin-panel-12/#post-14273241)
 * how to fix?
    Fatal error: Cannot redeclare retrieve_password() (previously declared
   in /home/maindomain/public_html/example.net/wp-login.php:357) in /home/maindomain/
   public_html/example.net/wp-includes/user.php on line 2671
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/cannot-access-admin-panel-12/#post-14273246)
 * Follow the steps I just posted.

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

The topic ‘Cannot access admin panel’ is closed to new replies.

## Tags

 * [hosting](https://wordpress.org/support/topic-tag/hosting/)
 * [log-in](https://wordpress.org/support/topic-tag/log-in/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/cannot-access-admin-panel-12/#post-14273246)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
