• Hello…

    I installed wordpress on new domain (new website) and whenever I try to install or update plugin or theme I get this error
    “The package could not be installed. The plugin contains no files”
    I tried different plugins and themes but they are all same.

    I also reinstalled wordpress but still out of luck

    the only way to install plugins or themes is throw cpanel.

    I have two websites on the same server, one of them is old and the other one is new. and both having this issue.

    any idea guys?

    thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter hussein0saleh

    (@hussein0saleh)

    in debug mood I get this error while updating a plugin

    Warning: array_keys() expects parameter 1 to be array, boolean given in /home/xxxx/public_html/en/wp-admin/includes/class-wp-upgrader.php on line 189

    Thread Starter hussein0saleh

    (@hussein0saleh)

    I just installed WP 3.3 and 3.2.1 in subfolders
    and they all have the same issue

    come on guys some help here… I also posted an issue a few days ago and got no solution yet
    http://wordpress.org/support/topic/templates-option-is-missing-from-page-attributes?replies=5

    thanks

    I am having the same problem, both with themes and plugins. The general WP upgrade installed well though.
    Would love to get some help on this.

    Hello!

    I’ve got the same problem when upgrading themes. Can anyone help with that? Is this an issue with the theme or hosting or wordpress?

    Same here… Any help yet?

    pastorlane

    (@pastorlane)

    Any news yet. Also experiencing the same issue.

    gladwda

    (@gladwda)

    Guys.
    Have you checked to make sure your plugins arent packed within plugins?
    Some themes (themeforest.net) for example are packaged inside a zip file. You unzip it. Go into the folders and find the actual zip file containing the plugin.

    It’s a pretty obvious one – but we’ve all done it and tried to upload the zip without extracting it first.

    Try that.

    If you can’t manage it. Unzip the contents, and ftp it to the plugin directory, or theme directory of your site.

    alex27

    (@alex27)

    That’s not the issue, at least not in my case. I had the theme already installed, then in the dashboard I saw that there’s update available, and I just followed the automatic update procedure.

    The package was successfully downloaded from the repository, but at the very end I get this error message:

    “The package could not be installed. The plugin contains no files”

    ps. I’m talking about free theme from the repository here.

    pastorlane

    (@pastorlane)

    Not my issue as well.

    I’m trying to update plugins and I get the error.

    Also noticed that I can no longer upload images.

    Thanks,

    gladwda

    (@gladwda)

    @alex27 have you tried downloading it to your pc, then copying the files over to your ftp?

    @pastorlane – same detail. As for the images, might want to start a separate thread there for that one and post a link.

    pastorlane

    (@pastorlane)

    @gladwda: Yes tried ftp. Nothing changes. I think all of the issues are somehow related.

    So far here is what I know I cannot do:

    1. Update/Install plugins,
    2. Update/Install new themes (free ones)
    3. Upload pics.

    Thanks

    jonathanhoward

    (@jonathanhoward)

    I get this error as well. I can perform upgrades manually just fine (by scp’ing or FTPing files into the proper directory), and wordpress is connecting via FTP fine it seems. But when I use WordPress’s automatic update feature, I get the following output:

    Updating Plugin <plugin-name-here> (1/1)
    Downloading update from http://downloads.wordpress.org/plugin/<plugin-file&gt;.zip…
    Unpacking the update…
    Installing the latest version…

    Warning: array_keys() [function.array-keys]: The first argument should be an array in </server/path/to…> wp-admin/includes/class-wp-upgrader.php on line 189
    Plugin update failed.
    An error occurred while updating <plugin-name>: The package could not be installed. The plugin contains no files…

    All updates have been completed.

    The relevant lines of my wp-config.php are:

    define(‘FTP_HOST’, ‘ftp://staringispolite.com&#8217;);
    define(‘FTP_USER’, ‘<ftpusername>’);
    define(‘FTP_PASS’, ‘<ftppassword>’);
    define(‘FTP_BASE’, ‘/absolute/path/to/blog/’);
    define(‘FTP_CONTENT_DIR’, ‘/absolute/path/to/blog/wp-content/’);
    define(‘FTP_PLUGIN_DIR’, ‘/absolute/path/to/blog/wp-content/plugins/’);
    define(‘FS_METHOD’, ‘ftpext’);
    define(‘FTP_SSL’, false);

    If it helps, my site is here: Jonathan Howard online.

    I’m getting the same problem, the plugin updates fine, but the theme doesn’t and I’m updating a theme on multisite.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘The package could not be installed. The plugin contains no files’ is closed to new replies.