[ad_1]
Hello recently I added 3 lines of code to my functions.php . Before editing I downloaded original in case something goes wrong. Site gave critical error can’t login to it anymore.
Now when I try to overwrite that functions.php it says permission denied. Can’t edit it in consol because it’s set to read only. I use Lightsail. Is there any solution for this?
[ad_2]
FTP.
`sudo nano`
1. Download it
2. Delete it
3. Re-upload it
Sometimes this works, depending of the permissions set.