Title: Problem installing/updating themes/plugins
Last modified: August 20, 2016

---

# Problem installing/updating themes/plugins

 *  [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/)
 * I try to install new plugins (doesn’t matter which one) to any WP website on 
   the server from WP admin, and I receive the error:
 * Installing Plugin: Empty Tags Remover 1.0
    Downloading install package from [http://downloads.wordpress.org/plugin/empty-tags-remover.zip…](http://downloads.wordpress.org/plugin/empty-tags-remover.zip…)
   Unpacking the package…
 * Installing the plugin…
    Warning: array_keys() expects parameter 1 to be array,
   boolean given in …/wp-admin/includes/class-wp-upgrader.php on line 189 The package
   could not be installed. The plugin contains no files. Plugin install failed.Down
 * WP is able to download the zip folder into to the …/wp-content/upgrade folder,
   but then cannot proceed to install it.
 * Could it be a WP issue or incompatibility with PHP or MySQL?
 * WordPress version 3.3.1
    PHP version 5.3.10 MySQL version 5.1.61

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667704)
 * What happens if you upload these plugins manually?
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667710)
 * I can activate manually uploaded plugins.
 * But I like to fix this, because when a new WP version arrives I am unable to 
   run the update for the database.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667715)
 * Try re-uploading the wp-admin and wp-includes folders from a **fresh** download
   of WordPress.
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667726)
 * I did this already, before posting this thread.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667732)
 * Can you see the zip files in the wp-contents/upload folder? If so, can you check
   that they do have some real content inside?
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667739)
 * Yes.
 * i.e. the Empty Tags Remover folder carries the same files, as when I download
   the plugin from the WP site: empty-tags-remover.php and readme.txt.
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667762)
 * Could it be that WordPress 3.3.1 is not ready for PHP 5.3.10 or MySQL 5.1.61?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667781)
 * No – that’s not the problem but it could be a server issue. PHP may be missing
   ZipArchive.
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667869)
 * Indeed, it looks like a PHP issue. Where can a find a complete list of PHP modules
   recommended and required by WP?
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667955)
 * I installed ZipArchive, still can’t install/upgrade plugins from WP admin. In
   which table/field do I find the login credentials for FTP/SFTP? Maybe we have
   changed this, and WP does not get the proper access?
 *  Thread Starter [Old Cow](https://wordpress.org/support/users/old-cow/)
 * (@old-cow)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667958)
 * When I include FTP/SSH constants into the wp-config.php
 * define(‘FS_METHOD’, ‘ftpext’);
    define(‘FTP_BASE’, ‘/path/to/wordpress/’); define(‘
   FTP_CONTENT_DIR’, ‘/path/to/wordpress/wp-content/’); define(‘FTP_PLUGIN_DIR ‘,‘/
   path/to/wordpress/wp-content/plugins/’); define(‘FTP_USER’, ‘username’); define(‘
   FTP_PASS’, ‘password’); define(‘FTP_HOST’, ‘ftp.example.org:21’);
 * I am able to install and delete plugins from WP admin now.
 * When I install a new plugin, I get stuck with the message:
    Installing Plugin:
   plugin-name Downloading install package from [http://downloads.wordpress.org/plugin/plugin-name.zip…](http://downloads.wordpress.org/plugin/plugin-name.zip…)
 * I can go to Plugins and activate them, but something??? still prohibits finalizing
   the install. Any idea?
 * Do you know where I have to make changes on the server to avoid these constants
   on all sites?

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

The topic ‘Problem installing/updating themes/plugins’ is closed to new replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [server](https://wordpress.org/support/topic-tag/server/)
 * [ssh](https://wordpress.org/support/topic-tag/ssh/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [Old Cow](https://wordpress.org/support/users/old-cow/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/problem-installingupdating-themesplugins/#post-2667958)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
