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.
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.
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.
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?