So I logged into FTP and navigated to
/wp-content/themes/MyChildTheme/ and edited the
header.php file. I saved the file and uploaded it and I can confirm the file has changed because if I check via cPanel or on a different computer I can see the new code.
However... if I go to WP-Admin and navigate to
Appearance > Editor > MyChildTheme > header.php as you see below:
The file appears un-edited... I can't see the code that I added. I've cleared the LiteSpeed cache but it doesn't show the edited code still.
I've tried to edit the code from this page and it appears to have worked once but yet the actual change doesn't appear on the website... Whilst I said it appears to have worked once there still stills to be an issue with "Update file" because when I click the button it eventually times out but during this "timeout" the website is unreachable...
The button does the following for like 2 minutes:
Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
I'm not sure what's going wrong :/ any ideas