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