# After import all plugins are not found

**URL:** https://community.localwp.com/t/after-import-all-plugins-are-not-found/29448
**Category:** Support
**Created:** [December 23, 2021, 8:24am UTC](https://community.localwp.com/t/after-import-all-plugins-are-not-found/29448 "2021-12-23T08:24:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![massiv](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@massiv](https://community.localwp.com/u/massiv)
#### Post date: [December 23, 2021, 8:24am UTC](https://community.localwp.com/t/after-import-all-plugins-are-not-found/29448/1 "2021-12-23T08:24:50Z")

</div>

### 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](http://www.mysite.com/wp-content) we use [www.mysite.com/something/something-content](http://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

 ![Schermata 2021-12-22 alle 17.42.17](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/4/4c976368c1d888256e78284657f2860c4cecbe5d.png)  
 ![Schermata 2021-12-22 alle 17.42.58](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/9/9881d5fb3e885c6be708411539c6bb22429086e9.png)

#### System Details

- Which version of Local is being used?  
6.1.8+5621

- What Operating System (OS) and OS version is being used?

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

---

<div class="post-metadata">

### Author: ![massiv](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@massiv](https://community.localwp.com/u/massiv)
#### Post date: [December 23, 2021, 9:20am UTC](https://community.localwp.com/t/after-import-all-plugins-are-not-found/29448/2 "2021-12-23T09:20:15Z")

</div>

I guess I fixed it,  
I still had declared WP\_CONTENT\_DIR and WP\_CONTENT\_URL, but renamed to ‘wp-content’.

By removing this 2 lines all plugins and themes are now working.

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)
#### Post date: [December 24, 2021, 9:20pm UTC](https://community.localwp.com/t/after-import-all-plugins-are-not-found/29448/3 "2021-12-24T21:20:55Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
