Title: Admin Core Issue
Last modified: October 14, 2025

---

# Admin Core Issue

 *  [DragonApps](https://wordpress.org/support/users/zothecula/)
 * (@zothecula)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/admin-core-issue/)
 * When I go to I get a blank page, when I go to zothnet.com/wp-admin I get the 
   following error.
 *     ```wp-block-code
       Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /home/zothnet1/public_html/wp-admin/admin.php:37 Stack trace: #0 /home/zothnet1/public_html/wp-admin/index.php(10): require_once() #1 {main} thrown in /home/zothnet1/public_html/wp-admin/admin.php on line 37So since I cannot get to the admin section I tried to run disable all plugins in cli I get this error message:[zothnet1@ny-s3 public_html]$ wp plugin deactivate --allWarning: Undefined array key "HTTP_HOST" in /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1354) : eval()'d code on line 73Fatal error: Uncaught Error: Call to undefined function get_locale() in /home/zothnet1/public_html/wp-admin/includes/admin.php:16Stack trace: 0 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1404): require() 1 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1313): WP_CLI\Runner->load_wordpress() 2 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() 3 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(84): WP_CLI\Bootstrap\LaunchRunner->process() 4 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(35): WP_CLI\bootstrap() 5 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('/usr/local/cpan…') 6 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wpt-wp-cli.php(31): require_once('/usr/local/cpan…') 7 /usr/local/bin/wp(4): require_once('/usr/local/cpan…') 8 {main}thrown in /home/zothnet1/public_html/wp-admin/includes/admin.php on line 16
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadmin-core-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681286)
 * It appears that important core files are missing or incomplete. I would recommend
   performing a manual update: [https://wordpress.org/documentation/article/updating-wordpress/#manual-update](https://wordpress.org/documentation/article/updating-wordpress/#manual-update)
 *  Thread Starter [DragonApps](https://wordpress.org/support/users/zothecula/)
 * (@zothecula)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681299)
 * Ok, I tried that but even with a whole new admin and includes I am still getting
   the same error when I go to /wp-admin
 * Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /
   home/zothnet1/public_html/wp-admin/admin.php:37 Stack trace: #0 /home/zothnet1/
   public_html/wp-admin/index.php(10): require_once() #1 {main} thrown in /home/
   zothnet1/public_html/wp-admin/admin.php on line 37
 *  [bvbaked](https://wordpress.org/support/users/bvbaked/)
 * (@bvbaked)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681304)
 * That appears to be the same error, so perhaps you did not update it correctly?
 * If you have CLI access, try using it to [update your core files](https://developer.wordpress.org/cli/commands/core/update/)
   by following instructions here. That might be an easier way than moving files
   as that can sometimes not quite work as expected.
 *  Thread Starter [DragonApps](https://wordpress.org/support/users/zothecula/)
 * (@zothecula)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681306)
 * Welllllllllllllllll, that was quite confusing hehe…
 *     ```
       [zothnet1@ny-s3 public_html]$ wp update wordpress
       Warning: No WordPress installation found. If the command 'update wordpress' is in a plugin or theme, pass --path=<code>path/to/wordpress</code>.
       Error: 'update' is not a registered wp command. See 'wp help' for available commands.
       [zothnet1@ny-s3 public_html]$ ls
       ads            dragomemlimit.png  license.txt         power-off-button.ico  test                    wp-comments-post.php  wp-load.php
       alma8cwp.png   dragophpmem.png    megasm.jpg          readme.html           vise.png                wp-config.php         wp-login.php
       bootstrap      error_log          objstorage.png      robots.txt            vserv.jpg               wp-config.php.bu      wp-mail.php
       cgi-bin        index.html         OneTouchReveal.pdf  sfc-errors.png        vzw                     wp-config-sample.php  wp-settings.php
       chatsupport    index.html_        packages.png        shrink.png            vzw-cloud-support.html  wp-content            wp-signup.php
       contaboos.png  index.html.bu      photos              sitemap.xml           wp-activate.php         wp-cron.php           wp-trackback.php
       cookie.txt     index.php          phpinfo.php.bu      smarty                wp-admin                wp-includes           xmlrpc.php
       download.png   laravel8           php.ini             symfony24             wp-blog-header.php      wp-links-opml.php
       [zothnet1@ny-s3 public_html]$ wp core update
       Error: This does not seem to be a WordPress installation.
       The used path is: /home/zothnet1/public_html/
       Pass --path=<code>path/to/wordpress</code> or run <code>wp core download</code>.
       [zothnet1@ny-s3 public_html]$ wp core download
       Error: WordPress files seem to already be present here.
       ```
   
 *  Thread Starter [DragonApps](https://wordpress.org/support/users/zothecula/)
 * (@zothecula)
 * [7 months, 4 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681311)
 * [zothnet1@ny-s3 public_html]$ wp core update /home/zothnet1/public_html/wordpress6.8.3-
   no-wpcontent.zip
    Error: This does not seem to be a WordPress installation. The
   used path is: /home/zothnet1/public_html/ Pass –path=`path/to/wordpress` or run`
   wp core download`.
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681556)
 * A quick way to restore it would be to use a backup. If you don’t have one yourself,
   contact your host’s support team.
 * Otherwise, I see that there are other files in the directory besides WordPress
   that don’t belong there. According to [Web Archive](https://web.archive.org/),
   however, WordPress was definitely running there. If WP CLI no longer recognizes
   it, there is probably something wrong with some of the files. Take a look at 
   wp-config.php. It should contain the basic configuration, such as the database
   connection details. If not, this could be the reason for the malfunctions.
 * A manual update, as described in the link above, should actually solve the problem.
   Check carefully whether you have uploaded the files to the correct hosting – 
   it’s easy to get confused. If necessary, also check the file modification data
   for wp-admin and wp-includes via SSH (if you already have it).

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

The topic ‘Admin Core Issue’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [7 months, 3 weeks ago](https://wordpress.org/support/topic/admin-core-issue/#post-18681556)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
