Comments (11)
@amitmalewar Thanks for the info. I am able to recreate the same issue. I will mark it for escalation.
To Reproduce
Steps to reproduce the behavior:
- Install the latest version of the official AMP plugin (1.2.0)
- Installer Site Kit 1.0.0-beta.1
- Active Reader mode AMP
- Visit AMP version of a post or page
Screenshots
http://recordit.co/fjjVBqLKo0
System Information (please complete the following information):
- PHP Version: 7.2
- Host OS: Linux
- Plugin Version: 1.0.0-beta.1
Additional context
No errors logged in console. Same issue arises with any theme active and no plugins other than AMP and Site Kit
from site-kit-wp.
Thanks for highlighting @amitmalewar. It is being worked on at the moment. You can disable the snippet insertion for the moment, or activate Analytics via any alternative method while it's being prioritized.
from site-kit-wp.
This QA'ed and the issue is fixed. closing.
from site-kit-wp.
@amitmalewar Thanks for the context, would you be able to let me know what plugins you are using in addition to AMP and Site Kit, or is possible share your site URL? Site Kit operates in the backend, it shouldn't affect AMP endpoints so there could be conflict. But let me know so we can take a look.
from site-kit-wp.
@jamesozzie AMP gives error only when we configure Analytics feature in Google Kit.
Site URL: https://www.infophilic.com
Plugins:
- Akismet
- Jetpack
- AMP
- Classic editor
- Contact Form 7
- Imagify
- Redirection
- Infophilic
- Subscribe to Comments Reloaded
- tagDiv composer
- Thirsty Affiliates
- Vaultpress
- WP Coupons
- WP Mail SMTP
- WP Rocket
- Yoast SEO
from site-kit-wp.
I am unable to see any AMP urls at the moment. Do you have a staging site you can use to deactivate some of your other plugins to test, and with AMP active are you seeing any errors using Chrome dev tools?
from site-kit-wp.
@jamesozzie Please check now, I have re-enabled Site Kit plugin.
from site-kit-wp.
@amitmalewar It looks like it's a problem with a plugin conflicting with your AMP plugin. Your AMP URLs do not follow the standard URL pattern (there is a / at the end of each AMP URL).
Have you installed any plugin other than Site Kit recently, or changed any settings in your active plugins? If possible please deactivate (temporarily) some of the other plugins you are using to see if your AMP works as normal (starting with the ones you recently updated or installed).
from site-kit-wp.
@amitmalewar The problem seems to only realise when Analytics is connected but the snippet is not inserted via Site Kit. Can you confirm? Deactivating Analytics also results in in AMP working as normal in reader mode.
from site-kit-wp.
@jamesozzie Yes, it crashed AMP only when we enable Analytics option. Without Analytics AMP works fine.
from site-kit-wp.
I noticed while addressing the issue that a similar problem can occur with Tag Manager in AMP reader mode. Both are addressed by #79. I updated acceptance criteria accordingly.
from site-kit-wp.
Related Issues (20)
- Improve the "Review AdSense Account" CTA link
- Potential fatal error when previewing Customizer drafts HOT 2
- Prevent outputting UA tags HOT 1
- Display a notification when a user goes offline HOT 3
- Add a DB migration to migrate module settings from `analytics` to `analytics-4` HOT 6
- Improve layout of data on SK admin bar on smaller viewports
- Release 1.119.0
- Fix release automation workflow HOT 2
- Address `upload-cloud-storage` action warning HOT 2
- Update usage of abandoned package
- Update compatibility checks HOT 3
- `Cannot read properties of null (reading 'syncGoogleTagSettings')` HOT 1
- Ads Module
- Add `audienceSegmentation` feature flag HOT 1
- Add REST and datastore APIs for creating and retrieving audiences
- Add the Setup CTA Banner initial view (Storybook)
- Add the Error Modal (Storybook) HOT 1
- Extend Site Health Info with module tag statuses
- Update `Module_With_Tag` and `Module_Tag`
- Expose Tag instance In Modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from site-kit-wp.