- This topic has 31 replies, 4 voices, and was last updated 3 years ago by
Leo.
-
AuthorPosts
-
July 19, 2020 at 5:48 pm #1369096
Maria
Unable to make any changes to functions.php through Appearance > Theme Editor. Error: 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.
The only way to make changes is to make changes through File Manager in SiteGround Site Tools.
SiteGround says the trouble is with the theme. See screenshots.
I’ve deactivated and reactivated plugins, but the problem still persists.July 20, 2020 at 2:13 am #1369354David
StaffCustomer SupportHi there,
the Theme wouldn’t cause that – i have several Siteground installs that work just fine so something else must be conflicting.
First off can you test for plugin conflict, by temporarily disabling all other plugins. Let us know.
July 20, 2020 at 7:33 am #1369624Maria
July 20, 2020 at 8:49 am #1369843Leo
StaffCustomer SupportTry removing each function temporarily and see if the issue is solved.
July 20, 2020 at 9:09 am #1369874Maria
I removed both functions through SiteGround’s Site Tools. Went back to WordPress admin > Appearance > Theme Editor tried to add the replace howdy with hello function. Got the same error. I cleared caches. Tried again in Chrome incognito. Still got error. Even when I don’t make any changes to the functions file if I just hit the Update File button I get the error.
July 20, 2020 at 9:10 am #1369877Leo
StaffCustomer SupportSo just to make sure, if you remove everything in that file, you get the same error?
If so then report this to Site Ground’s support again.
July 20, 2020 at 9:12 am #1369883Maria
Yes, that’s correct. I’ll report that to SiteGround’s support and see what they say.
July 20, 2020 at 9:18 am #1369887Maria
Just to clarify. I didn’t remove everything as you indicated, just my 2 code snippets.
July 20, 2020 at 11:31 am #1369999Leo
StaffCustomer SupportI see 3 snippets in there that’s not included by default.
I’d recommend removing them all to test – that being said, I don’t think the snippets are causing the issue.
But since Site Ground support thinks so, it would be good to prove to them it’s not.
July 20, 2020 at 4:19 pm #1370195Maria
July 21, 2020 at 12:58 am #1370458David
StaffCustomer SupportDid you get the Child Theme from the link provided here:
https://docs.generatepress.com/article/using-child-theme/#installing-a-child-theme
July 21, 2020 at 9:06 am #1371051Maria
Yes, I did.
July 21, 2020 at 11:00 am #1371154Leo
StaffCustomer SupportWe’ve seen lots of users with Site Ground with child themes without any issues so I’m not sure why they think it’s a theme issue.
Are you able to test a child theme with a default twenty series theme and see if the same issue exist there as well?
July 21, 2020 at 11:48 am #1371214Maria
I haven’t tried that. How do I go about doing it? Activate the latest default theme and then what? Not quite sure how to go about getting another child theme since I always use GP’s.
July 21, 2020 at 11:54 am #1371229Leo
StaffCustomer SupportMaybe let’s try with the parent theme first.
So go activate GP parent theme, go to the theme editor and the function.php file, click Update File without updating anything. Does the same issue occur?
-
AuthorPosts
- You must be logged in to reply to this topic.