Issue Summary
After importing an existing site, all plugins seem to be enabled in frontend, except I don’t see any related menu in the sidebar. As soon as I visit the ‘plugins’ folder, all plugins state as ‘The plugin XYZ has been deactivated due to an error: Plugin file does not exist.’ even though the folders/files exists and the permissions seem to be correct. After this all plugins gets disabled globally.
(also the themes are not working in backend, but does in frontend)
Troubleshooting Questions
We as a company usually install WP with a custom folder structure, instead of www.mysite.com/wp-content we use www.mysite.com/something/something-content
Replication
After having imported the zip, I connect to the database and update the ‘siteurl’ in the ‘options’ table.
At this point with a PHP library I search-replace the database to update to the new path.
All various links/images are now linked correctly

System Details
-
Which version of Local is being used?
6.1.8+5621 -
What Operating System (OS) and OS version is being used?
- macOS Big Sur 11.6
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
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.