WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#43283 closed defect (bug) (invalid)

header php not showing analytic code to validate with google

Reported by: lavisbre Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.4
Component: Themes Keywords:
Focuses: Cc:

Description

Hi

I access my header php in wp dashboard and it won't update.

error message"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."

Ipage says its your issue that google cant see the code?

I have no plugins installed and no security.

Change History (2)

#1 @Ipstenu
4 months ago

  • Resolution set to invalid
  • Status changed from new to closed

The error you are seeing is part of the new sandbox feature introduced in WP 4.9

Any time a change is made, WP checks to make sure you don't white screen (break) your site. If WP can't determine the state, it cancels the save.

What you're seeing is a case where your site can't talk to itself and save. This usually happens if you have a reverse proxy or something that is filtering the actions.

You can start debugging by turning off all your plugins, or testing on a local site, but sadly the issue is just with your site :(

#2 @SergeyBiryukov
4 months ago

  • Component changed from General to Themes
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.