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
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?
Any news yet. Also experiencing the same issue.
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.
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.
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,
@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.
@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
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>.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’);
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.