# Fatal error restore (FTP)

**URL:** <https://community.localwp.com/t/fatal-error-restore-ftp/46320>\
**Category:** Support\
**Tags:** mac\
**Created:** [January 6, 2025, 7:51pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320 "2025-01-06T19:51:00Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 6, 2025, 7:51pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/1 "2025-01-06T19:51:00Z")

</div>

Hi,

Today I made a mistake. I installed a plugin on my local host site.  
Now I can’t open my wp-admin and site.  
After research, I found out I can restore it with FTP. I installed FileZilla.  
But FileZilla do not connect with the local host.

I recieved a notification: Connection broken after 20 seconds.  
Does anyone know if I used the richt codes?

I used the inlog (user, password) codes from the database in my localhost.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 7, 2025, 1:56pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/2 "2025-01-07T13:56:01Z")

</div>

Hi @Breeuw

You can click Site Shell in Local to run CLI commands like `wp plugin deactivate pluginname` which should disable the plugin, or you can remove it completely as well.

You can also click on Site Folder and navigate directly to your App\>Public\>WP-Content\>Plugins directory as well without having to use FTP.

---

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 7, 2025, 4:38pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/3 "2025-01-07T16:38:48Z")

</div>

Thank you!  
I did not knew it could be that way.

I have looked for the possibility’s you gave me and used them. Also deleted the plugin.  
But I still have an error. I am afraid I have to build the whole website again 😭  
Still can not go into the wp-admin.

There’s no backup.

Kind regards,

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 7, 2025, 4:47pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/4 "2025-01-07T16:47:29Z")

</div>

Hi @Breeuw

Are you not getting to the Admin login page or it’s just not accepting your login credentials?

There could be another plugin conflict at play, so you could try disabling everything using this:

`wp plugin deactivate --all`

You can also use steps like the ones in the article below to create a new admin user, or edit the credentials of an existing user:

> **[Reset a WordPress admin password](https://localwp.com/help-docs/troubleshooting/reset-a-local-sites-wordpress-admin-password/)**
>
> If you don’t have an admin login or you simply forgot your admin password, this doc will go over how you can gain access to the WordPress admin for a Local site on your computer using WP-CLI.

---

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 8, 2025, 7:05am UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/5 "2025-01-08T07:05:49Z")

</div>

Hi thank you again.

Also in these two case, I have no access to the wp- admin. After entering the short code I recieve also a fatal error. 🥲

 ![Scherm­afbeelding 2025-01-08 om 08.00.34](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/4/f438a8ca2b7bccfd2588b8b93d6913178f9ded56.jpeg)  
 ![Scherm­afbeelding 2025-01-08 om 08.02.59](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/3/a/3a011763d2e741a139fdf59186877fbe8f8edae3.jpeg)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 8, 2025, 1:51pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/6 "2025-01-08T13:51:29Z")

</div>

It looks like there is a critical error with the theme @Breeuw

You could try running a command like `wp theme list` and if you already have any default themes installed like twentytwentyfour or something like that you could activate one of those themes over your current one which should resolve the critical error for now.

---

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 8, 2025, 2:29pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/7 "2025-01-08T14:29:05Z")

</div>

@Nick-B Thank you for your kindness.

I tried to use the command, also then I get the error notification.  
I can’t do anything in the site shell.

Kind regards,

 ![Scherm­afbeelding 2025-01-08 om 15.26.07](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/8/e/8efc2be8446aaf6ef56978b5a18ef8a46bf13c29.jpeg)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 8, 2025, 2:44pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/8 "2025-01-08T14:44:34Z")

</div>

You might try removing the Divi theme completely. Click on Site Folder in Local, go to App \> Public \> WP-Content \> Themes and then remove or rename that Divi theme file. After that Stop and Restart your site to compile changes.

---

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 8, 2025, 3:06pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/9 "2025-01-08T15:06:57Z")

</div>

Hi @Nick-B,

Something has changed now.  
But still an error.

 ![Scherm­afbeelding 2025-01-08 om 16.05.13](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/1/1/1138fa7db8ffc4607dafc6901f826c6806b10ed2.png)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 8, 2025, 3:07pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/10 "2025-01-08T15:07:34Z")

</div>

What about your site shell? Are you able to access that and do any commands now?

---

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 8, 2025, 4:33pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/11 "2025-01-08T16:33:08Z")

</div>

Side shell still doesn’t work.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 8, 2025, 7:16pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/12 "2025-01-08T19:16:04Z")

</div>

The site certainly seems to have some deeper conflicts going on here. Did you ever take any backups of it?

You could try creating a new, blank site in Local and then moving over your Database and contents but leaving out any of the plugins or themes that you think were contributing to the issue here and see if you’re able to get in and access that site.

The steps would look similar to this:

[Manually Import a Local Site](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/#Manually-Import-a-Local-site)

---

<div class="post-metadata">

**Author:** ![Breeuw](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@Breeuw](https://community.localwp.com/u/Breeuw)\
**Post date:** [January 9, 2025, 3:27pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/13 "2025-01-09T15:27:26Z")

</div>

Hi @Nick-B, Thank you!.  
I tried. But also the same problem.  
Maybe you can help me to find the text of the website.

I have to build a new site.  
Do you know were I can find the text of the website?  
I build it in the DIVI theme.

Thank you already,  
Kind regards Brenda

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 10, 2025, 2:04pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/14 "2025-01-10T14:04:33Z")

</div>

As I mentioned above @Breeuw I think your best bet would be to try reimporting most of the site as it is into a new blank site. You can use the reimport steps from the link above but I would first remove whatever plugin(s) you think caused things to broke in your original post.

---

<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:** [April 10, 2025, 2:05pm UTC](https://community.localwp.com/t/fatal-error-restore-ftp/46320/15 "2025-04-10T14:05:00Z")

</div>

Closed on April 10, 2025, 2:05pm UTC

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