Title: Error when trying to access wp-admin
Last modified: November 7, 2019

---

# Error when trying to access wp-admin

 *  [ajassat](https://wordpress.org/support/users/ajassat/)
 * (@ajassat)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-when-trying-to-access-wp-admin-2/)
 * I am unable to access my dashboard in the normal way. Please view [http://www.landoflearning.co.uk/wp-admin](http://www.landoflearning.co.uk/wp-admin)
 * I’m getting an error which says there is a problem with the function call in 
   one of the theme directories
 * I tried renaming the theme directory to bypass the error, but instead the site
   will not load at all if I do this
 * Any ideas how to fix?
 * Adam
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-trying-to-access-wp-admin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-when-trying-to-access-wp-admin-2/#post-12108693)
 * 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), navigate to /wp-content/themes/
   and rename /Divi/ to /Divi-broken/
 * This will force the default theme to activate and restore your site.
 * If you don’t have a default theme installed (theme’s beginning with “twenty”),
   also download and install [https://wordpress.org/themes/twentynineteen/](https://wordpress.org/themes/twentynineteen/)
   into the /wp-content/themes/ directory.
 * Next, since that is a commercial theme, we ask that you please go to their official
   support channel, so you can get support from the people who know it best: [https://www.elegantthemes.com/contact/](https://www.elegantthemes.com/contact/)
 * Forum volunteers are not given access to commercial products, so they would not
   know why it is not working properly. Other community members who may have faced
   your issue might be able to help you but your best bet is your product’s developer.
   Keep in mind we encourage you to use the official support venues, as it allows
   the developers to be aware of issues with their code and gives back to the community
   in a more robust way.
 *  [madhumurthy](https://wordpress.org/support/users/madhumurthy/)
 * (@madhumurthy)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-when-trying-to-access-wp-admin-2/#post-12108886)
 * Another option to gain access is to try this link to login.
    [http://www.landoflearning.co.uk/wp-login.php](http://www.landoflearning.co.uk/wp-login.php)
 * If it works and you are able to log in, you can change the currently active theme
   from DIVI to a default theme from the dashboard ( Appearance > Themes ).
 * Once the theme is changed, you could follow the advice above from James Huff.
 * Hope this helps.
    Madhu

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

The topic ‘Error when trying to access wp-admin’ is closed to new replies.

## Tags

 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [madhumurthy](https://wordpress.org/support/users/madhumurthy/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/error-when-trying-to-access-wp-admin-2/#post-12108886)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
