Sponsored Content
The Wayback Machine - https://web.archive.org/web/20210817024816/https://github.com/google/site-kit-wp/issues/975
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fatal error with AMP Plugin versions < 1.2 #975

Closed
ThierryA opened this issue Dec 12, 2019 · 1 comment
Closed

Fix fatal error with AMP Plugin versions < 1.2 #975

ThierryA opened this issue Dec 12, 2019 · 1 comment

Comments

@ThierryA
Copy link
Collaborator

@ThierryA ThierryA commented Dec 12, 2019 •

Bug Description

Site Kit cause a Fatal error: Uncaught Error: Call to undefined method AMP_Theme_Support::get_support_mode() for users with AMP Plugin version lower that 1.2 in which get_support_mode() function was added.

Steps to reproduce

Install AMP plugin version older than 1.2 and activate Site Kit.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • Ensure there is not fatal error with AMP Plugin versions < 1.2, for get_support_mode() function and other properties we are using from the AMP plugin.

Implementation Brief

  • Merge #977 (see notes on PR).

Changelog entry

  • Fix compatibility issues with older versions of the AMP plugin.
@felixarntz felixarntz self-assigned this Dec 13, 2019
@felixarntz felixarntz added this to the 1.1.4 milestone Dec 13, 2019
@felixarntz felixarntz assigned ThierryA and unassigned felixarntz Dec 13, 2019
@ThierryA ThierryA assigned ThierryA and felixarntz and unassigned ThierryA Dec 13, 2019
@felixarntz felixarntz assigned ThierryA and unassigned felixarntz Dec 13, 2019
@ThierryA ThierryA assigned felixarntz and unassigned ThierryA Dec 13, 2019
@felixarntz felixarntz removed their assignment Dec 13, 2019
@aaemnnosttv aaemnnosttv self-assigned this Dec 16, 2019
@aaemnnosttv
Copy link
Collaborator

@aaemnnosttv aaemnnosttv commented Dec 16, 2019

QA ✅

  • Confirmed fatal with AMP 1.1.3 and Site Kit 1.1.3
  • Confirmed fatal no longer occurs with AMP 1.1.3 and Site Kit develop
  • Confirmed AMP latest works with Site Kit develop
  • Confirmed ampMode with AMP 1.1.3 and latest:
    • Native/Standard: primary
    • Transitional: secondary
    • Reader: secondary
@aaemnnosttv aaemnnosttv removed their assignment Dec 16, 2019
@felixarntz felixarntz closed this Dec 17, 2019
@ThierryA ThierryA removed this from the 1.1.4 milestone Feb 3, 2020
@ThierryA ThierryA added this to the Sprint 13 milestone Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants