keepcalculator

06 Numbers and Powers

WordPress: No Valid Plugins Were Found

Card No. 06·56619 · Updated · Standard formula, shown below

The “Package could not be installed. No valid plugins were found” message means WordPress could not identify a usable plugin in the file you uploaded. Most often, the ZIP contains the wrong files or an extra folder level; download the installable plugin ZIP and upload that, rather than extracting or repackaging it.

What the error means

When you install a plugin through Plugins → Add New Plugin → Upload Plugin, WordPress expects the uploaded archive to contain a plugin’s PHP files in the structure it can recognize. A plugin usually has a main PHP file with a valid plugin header, including information such as the plugin name. If WordPress cannot find a plugin file where it expects one, the installation stops with this message.

This is different from an activation error. With this message, WordPress has not successfully installed a recognizable plugin, so there is nothing to activate yet. It also does not necessarily mean the plugin’s code is broken: the file may simply be a download package, documentation archive, or incorrectly structured ZIP.

Check the ZIP file before installing

First confirm that the file you selected is actually the plugin’s installation archive. A developer’s download page may offer several files: an installable ZIP, a full source-code package, documentation, or a bundle containing multiple products. The filename alone is not proof that the archive is installable.

If you can inspect the ZIP on your computer, open it without extracting it and look at its contents. A typical plugin archive has a folder for the plugin, with PHP files inside. For example, a valid-looking structure might be:

  • sample-plugin.zip
  • sample-plugin/sample-plugin.php
  • sample-plugin/includes/

The main PHP file should contain a WordPress plugin header. You do not need to edit it; checking that it exists can help explain why WordPress does or does not recognize the package.

Fix the installation step by step

  1. Get a fresh copy from the plugin’s original source. Use the plugin’s official download page or its listing in the WordPress plugin directory. If the download page offers an “installable” or “plugin ZIP” option, choose that rather than a full source archive.
  2. Do not unzip the file before uploading it. In the WordPress upload form, select the ZIP archive itself. Uploading a folder or a PHP file is not the same as uploading a plugin package.
  3. Check for an extra folder level. Some archives contain a wrapper folder, such as download-name/plugin-name/plugin-name.php. If WordPress cannot find the plugin file in the expected location, the wrapper may be the problem. Extract the archive locally, locate the folder that directly contains the plugin’s main PHP file, and create a ZIP of that folder only. Preserve the plugin’s internal folders and files.
  4. Upload the corrected archive. In the dashboard, go to Plugins → Add New Plugin → Upload Plugin, choose the ZIP, and select Install Now. If installation succeeds, choose Activate Plugin only if you are ready to use it.
  5. Try the dashboard directory when appropriate. For a plugin listed in the WordPress directory, search for it under Plugins → Add New Plugin and install it from there. This avoids handling a downloaded ZIP manually.

Menu wording can differ slightly across WordPress versions or site configurations, but the upload workflow is generally in the Plugins area of the dashboard.

Common causes and how to tell them apart

  • You uploaded the full download bundle. A source archive may include documentation, build files, or a directory containing the actual plugin ZIP. Look inside the download for a separate installable archive.
  • The archive has nested folders. If the main PHP file sits several folders below the ZIP’s top level, repackage the plugin’s own folder rather than the outer download folder.
  • The download is incomplete or damaged. A browser interruption or failed transfer can leave an unusable file. Download it again and compare the file size or checksum with information supplied by the publisher, if available.
  • The file is not a plugin. Themes, templates, libraries, and other software may also be distributed as ZIP files, but they cannot be installed as plugins. Use the matching installation area or instructions for that product.
  • The plugin is already installed in another form. This usually causes a different message, but check the Plugins list before repeating an installation, especially if the site has recently been migrated or restored.

When to use FTP or hosting file access

If a correctly structured ZIP still cannot be installed, a site administrator may be able to upload the extracted plugin folder to wp-content/plugins/ using the hosting file manager or FTP. The folder should contain the plugin’s main PHP file and its supporting files. After uploading, refresh the Plugins page and check whether WordPress lists it.

File access is an alternative, not a way to bypass a broken or untrusted package. Do not upload a folder if you cannot identify its source or contents. If you use a file manager, avoid overwriting an existing plugin folder unless you understand the consequences; replacing files can disrupt a working installation. A hosting provider or site administrator can help if you do not have access or are unsure which folder to use.

Safety and troubleshooting limits

Install plugins only from sources you trust. A ZIP can contain executable PHP code, so inspecting its folder structure does not establish that the code is safe. Avoid packages sent by an unknown person or offered through an unofficial download site, and do not disable security controls merely to make an installation succeed.

If a fresh, correctly structured archive still fails, note the exact message and check whether WordPress reports a different problem after the package is recognized. Upload limits, file permissions, server settings, and plugin compatibility can cause other installation or activation errors, but they are not the usual explanation for “No valid plugins were found.” Ask the hosting provider or plugin developer for help rather than changing server settings at random.

Frequently Asked Questions

Why does WordPress say no valid plugins were found?
WordPress could not locate a recognizable plugin file in the uploaded archive. The file may be the wrong download, damaged, or arranged with an extra folder level.

Should I upload the ZIP or extract it first?
For the dashboard installer, upload the ZIP itself. Extracting is useful only when you are inspecting the archive or preparing a correctly structured folder for an alternative installation method.

Can I fix this by renaming the ZIP file?
Usually not. Renaming changes the filename, not the archive’s contents or folder structure. Obtain the installable archive or repackage the plugin’s own folder correctly.

Is this the same as a plugin compatibility error?
No. This message means WordPress did not recognize the uploaded package as a plugin. Compatibility problems typically appear during or after installation, such as when activating a plugin.

Can I install a plugin without the WordPress dashboard?
Yes, an administrator with suitable hosting file access can upload the plugin folder to wp-content/plugins/. Use a trusted package, preserve its structure, and avoid overwriting existing files unexpectedly.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →