Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress plugin installation fail

Tags:

wordpress

While trying to install plugins in wordpress site, I get the following error

Unpacking the package…

Installing the plugin…

The package could not be installed. No valid plugins were found.

Plugin install failed.
like image 360
user1030768 Avatar asked Oct 08 '22 20:10

user1030768


2 Answers

If you have access to the cPanel, try this:

  1. Download the plugins that you want to install on WordPress.
  2. Open your CPanel and sign in.
  3. Open “File Manager”
  4. Locate your wordpress installation there and Click on the folder marked “wp-content”
  5. Open the folder marked “plugins”
  6. Click on “upload file(s)” and upload the plugin you just downloaded.
  7. Click on the plugin file that you just uploaded and click “extract”.
  8. Open WordPress and go to the dashboard. Click on “Plugins”. ( You should see your new plugin as one of the selections. )
  9. Click “Activate”.

The above steps are explained assuming your hosting is With HostGator. The steps are similar for other hostings also.

Cheers !!!

like image 79
Libin Avatar answered Oct 10 '22 10:10

Libin


It seems you have put wrong folder/file. wordpress only get realized that there is a plugin when it can get a php file which header contain at lease this line

/* Plugin name: your plugin name */

So, you have to check..

  • unzip the plugin file and see if there any php file containing header like that. you plugin file should be in.. wp-content/PLUGIN_DIRECTORY/PLUGIN_FILE.php

check this first and let us know if it works or not

like image 43
Rimon Habib Avatar answered Oct 10 '22 09:10

Rimon Habib