WordPress Theme and Plugin Getting Error

What issue or error are you experiencing?

Unpacking the package…

Installing the theme…

The package could not be installed. The theme is missing the style.css stylesheet.

Theme installation failed.

Unpacking the package…

Installing the plugin…

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

Plugin installation failed.

Now when I upload on a live site it uploads just fine. So Not sure. I checked the theme and the style.css is in the folder in the correct spot, the plugin upload is the correct plugin.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

  • Not sure I created a new site like normal from the preferred options and I go to upload theme and plugins and they give the same error.

System Details

  • Local Version: Version 9.1.0+6719

  • Operating System (OS) and OS version: Sonoma 14.7.1

Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @pcdesigns

Is this a specific site you’re working on or does this still happen even if you test it on a new, blank site in Local? Trying to determine if there are any site level conflicts.

That said with Local you have a few different alternative routes you can go. You can add your plugin or theme files manually into the WP-Content or use the Site Shell to install and activate with CLI.

I think you’re gonna have to point to the plugins and themes you’re trying to install and getting this error.

It’s a WP issue and not a Local issue.

Any new site that I created it was doing this. The only way I was able to get the themes and plugins on the site was to do it manually. Now I didn’t use to have this issue. It only started when I got a new computer and the latest update.

Can you provide details on doing this? Since it isn’t just one site. It is all of them and its even on new sites that I create.

What steps did you take to install them manually?

Do you utilize any kind of external storage or Cloud storage for these items?

Is this a personal device or one issued by your employer?

My thoughts are here it’s either a pathing issue or a permissions one. Similar to what was going on for this user here:

I utilize an external hard drive. I just tried to move it back to my computer to try that and see if it will make a difference but it still did the same thing. The steps I take to manually install I go to the site folder plugins/themes and unzip the theme or plugin and put it in the folder for either. I go back to the site and activate them and it works just fine. This is a personal computer.

Would there be any kind of permission change on these folders? I’m wondering if they are still different since they came from the hard drive. As a test if you just add a plugin from the WordPress repository that’s not from your HD does that work normally?

The issue was that I had everything in an external hard drive. Once I moved to my main hard drive I had no problems installing plugins.

1 Like

Thank you @greenwebsite! :green_heart: