Skip to content
Troubleshooting

Fix "WordPress is available! Please notify the admin"

Cannot update or delete core or plugins? Check DISALLOW_FILE_MODS, host locks and permissions behind the notice, and fix them safely.

By WP24×7 engineers5 min readPublished November 23, 2022Updated November 29, 2026

At a glance

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.

Updated November 29, 2026 · For WordPress site owners and administrators

  • 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.

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.

SituationWhy you see the noticeWhat to check
You are not an administratorYour role cannot run updates. On multisite only Super Admins can update coreYour role under Users
Everyone lacks the capabilityFile changes are disabled for the whole siteDISALLOW_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:

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.

15:00
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.

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:

CauseWhat it looks likeWhat to do
Permissions or ownershipWordPress asks for FTP detailsCorrect ownership for the web server user; 755 for directories, 644 for files, not 777
Host-managed update policyCore updates locked on a managed planCheck the host's support page
Security plugin or hardening ruleCapability removedDeactivate suspects one at a time, as in our debugging guide
Role changesA role editor stripped update_coreReview administrator capabilities
Disk full or read-only file systemA write error insteadCheck 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.

Update blocked and site at risk?

Call the help desk or post a project and a person reads it, today.

FAQ

Questions people ask

12 answers. Can't find yours? Ask an engineer.

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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer

Keep reading

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.