# Fix "WordPress is available! Please notify the admin"

URL: https://wp24x7.com/how-to-fix-wordpress-6-x-x-is-available-please-notify-the-site-administrator-or-not-being-able-to-update-or-delete-wordpress-core-or-the-plugins/
Updated: 2026-11-29
Type: blog post
Audience: WordPress site owners and administrators

> A troubleshooting guide for the WordPress notice asking you to notify the site administrator, and for plugin lists with no Update or Delete link. The usual cause is the DISALLOW_FILE_MODS constant in wp-config.php. The post explains where it can be set, how to change it safely, what else can block updates, and how to update in a safe order.

## Key facts

- For: site owners who cannot update or delete core or plugins
- Usual cause: DISALLOW_FILE_MODS set to true in wp-config.php
- Other causes: file permissions, host update policy, role or security plugin changes
- Before editing: back up the site and copy wp-config.php
- Safe update order: core, then plugins, then themes
- Help: updates, rollbacks and emergency support are available

If you see "WordPress is available! Please notify the site administrator" instead of an Update button, or your plugins list offers Activate and Deactivate but no Update or Delete, WordPress has been told not to touch files. **Most often that is the `DISALLOW_FILE_MODS` constant in `wp-config.php`, set by someone or something on purpose. Check who set it before you remove it.**

> **Back up first**
Back up the site and keep a copy of `wp-config.php` before editing.

## What does the message actually mean?

WordPress checks the user's capabilities. The `update_core`, `update_plugins`, `install_plugins` and `delete_plugins` capabilities are required to update and remove software. If the current user lacks `update_core`, the Updates screen shows the polite "notify the administrator" text instead of a button.

| Situation | Why you see the notice | What to check |
|:--|:--|:--|
| You are not an administrator | Your role cannot run updates. On multisite only Super Admins can update core | Your role under Users |
| Everyone lacks the capability | File changes are disabled for the whole site | `DISALLOW_FILE_MODS` and the places below |

Check your role first. If you are a normal administrator on a single site and still see the notice, continue with the constant below.

## What is DISALLOW_FILE_MODS?

It is a switch in `wp-config.php`:

```php
define( 'DISALLOW_FILE_MODS', true );
```

When it is true, WordPress blocks installing, updating and deleting plugins, themes and core from the dashboard, and it disables the built-in theme and plugin file editor too. People use it to harden a site, so a stolen administrator password cannot install malware from the dashboard. Hosts use it on managed plans where they handle updates themselves, and agencies set it on sites that are deployed from Git or Composer.

It is related to, but different from, `DISALLOW_FILE_EDIT`, which only turns off the code editor. Seeing "no editor" does not mean updates are blocked, and the reverse.

_A locked-down site shows a notice where the Update button should be_

## Where else might it be set?

Look in all of these before assuming one fix:

- The root `wp-config.php`, or one level up from the web root, since WordPress also reads it from there.
- A file included from `wp-config.php`, such as `wp-config-local.php` or a host's `config.php`.
- A must-use plugin in `wp-content/mu-plugins/`, which can define the constant or filter capabilities. Those do not appear in the normal plugins list.
- A security plugin option, such as "disable file changes".

Search for it on the server if you can: `grep -rn "DISALLOW_FILE_MODS" wp-config.php wp-content/mu-plugins`.

## How do I fix it?

1. **Find out why it was set.** Ask your host, agency or colleague. If a deployment pipeline updates the site, update the dependencies there rather than from the dashboard, and leave the constant alone.
2. **If you own the decision, edit wp-config.php.** Delete the line or change it to `false`, as shown below.
3. **Reload Dashboard, Updates.** The Update button and plugin Delete links should be back.
4. **Run the updates and test.** Consider setting the constant back to `true` afterwards if you prefer locked dashboard changes and handle updates by another route.

```php
define( 'DISALLOW_FILE_MODS', false );
```

Keep in mind that the constant must be defined before the line that says "That's all, stop editing".

## What if the constant is not set?

If `DISALLOW_FILE_MODS` is absent, other causes remain:

| Cause | What it looks like | What to do |
|:--|:--|:--|
| Permissions or ownership | WordPress asks for FTP details | Correct ownership for the web server user; 755 for directories, 644 for files, not 777 |
| Host-managed update policy | Core updates locked on a managed plan | Check the host's support page |
| Security plugin or hardening rule | Capability removed | Deactivate suspects one at a time, as in our [debugging guide](/how-to-debug-error-in-wordpress) |
| Role changes | A role editor stripped `update_core` | Review administrator capabilities |
| Disk full or read-only file system | A write error instead | Check free disk space |

## How do I update safely once it works?

Do updates in this order on a copy of the site first if you can: WordPress core, then plugins, then themes. Update one at a time for anything critical, such as WooCommerce, a membership or booking plugin, or your page builder. Clear caches afterwards and check the front page, a form, checkout if you sell and the login. Keep the backup until you have checked.

A site that has not been updated for months can need several steps to catch up, and some very old plugins will not run on current PHP. Do not push through a fatal error. Restore the backup and get help.

## What if I only want to block the file editor?

That is a different constant. Setting `DISALLOW_FILE_EDIT` to true removes the Theme File Editor and Plugin File Editor from the dashboard, which is widely recommended because it stops an attacker with admin access from editing PHP in the browser, and it does not stop updates. If you came here because updates were blocked, leave this one in place and only change `DISALLOW_FILE_MODS`. Keeping the editor disabled costs you nothing, since code should be changed through SFTP, Git or a deployment tool where you have a record of each change.

## When to ask for help

If the constant is gone and updates still fail, if you see errors about the file system, or a site breaks after an update, get an expert before you try more things.

- **WordPress support** Updates and rollbacks handled by an engineer. [WordPress support](/wordpress-support)
- **Emergency support** A site that is down after an update. Pay-only-if-fixed Emergency Rescue. [Emergency support](/wordpress-emergency-support)
- **Care plan** Routine updates taken off your plate, cancel any time. [WordPress maintenance](/wordpress-maintenance-service)

> **Live promise**
Emergency requests get a reply inside 15 minutes, and Emergency Rescue is only charged if your site is working again.

**Update blocked and site at risk?**
Call the help desk or post a project and a person reads it, today.
[Call the help desk](/help-desk)
[Post a project](/post-project)

## Frequently asked questions

### What does "Please notify the site administrator" mean?

WordPress is telling a user who is not allowed to run updates that a new version exists. It also appears to administrators when file changes are disabled on the site, because that setting removes everyone's update capability.

### Is it safe to set DISALLOW_FILE_MODS to false?

It is safe if you set it deliberately. It was probably added for security or by your host, so understand who set it and how updates are handled before you change it.

### Why can I activate plugins but not delete them?

File modifications, including installing, updating and deleting, are blocked by the setting, while activating a plugin only changes a database option, so it still works.

### What is the difference between DISALLOW_FILE_MODS and DISALLOW_FILE_EDIT?

DISALLOW_FILE_EDIT only removes the theme and plugin code editors. DISALLOW_FILE_MODS also blocks installing, updating and deleting from the dashboard. If updates are blocked, change only the second one and keep the editor disabled.

### Where else could the constant be set besides wp-config.php?

In a file included from wp-config.php, in a must-use plugin under wp-content/mu-plugins, or through a security plugin option such as disable file changes. Check all of them before assuming a single fix.

### Why do I see the notice on a multisite network?

On multisite only Super Admins can update core, so an ordinary site administrator sees the notice. Check your role under Users, or ask the network administrator to run the update.

### My site asks for FTP details when I update. Why?

WordPress cannot write to its own files, usually because of wrong ownership or permissions. Correct the ownership for the web server user and use 755 for directories and 644 for files, not 777. Many hosts do this in their control panel.

### Should the constant stay true if I deploy from Git?

Yes. If a deployment pipeline updates the site, update dependencies there and leave the constant alone. Ask whoever runs the pipeline before you change it.

### In what order should I update after it works?

Core first, then plugins, then themes, ideally on a copy of the site. Update critical plugins such as WooCommerce one at a time, clear caches and test the front page, a form, checkout and login.

### What if an update causes a fatal error?

Do not push through it. Restore the backup and get help. Very old plugins may not run on current PHP, so a site that is months behind can need several careful steps to catch up.

### Can a role editor plugin cause this?

Yes. A role editor may have stripped the update_core capability from administrators. Check the roles and capabilities setup if the constant is not defined and you are on a single site.

### Can WP24x7 handle updates for me?

Yes. The support team handles updates and rollbacks, emergency support covers a site that is down, and a care plan takes routine updates off your plate. Call the help desk to start.
