Console Errors and Plugin Not Working Correctly
-
I am getting the following errors in the console when I use the AMP plugin. The plugin is not working correctly on my website. I believe the console errors could be a factor.
Failed to load resource: the server responded with a status of 404 ()
amp.js:175 Powered by AMP ? HTML – Version 2101230412005 https://lazyjack.blog/
lazyjack.blog/:1 Access to fetch at ‘https://www.googletagmanager.com/amp.json?id=GTM-57ZFVVR&__amp_source_origin=https%3A%2F%2Flazyjack.blog’ from origin ‘https://lazyjack.blog’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
https://www.googletagmanager.com/amp.json?id=GTM-57ZFVVR&__amp_source_origin=https%3A%2F%2Flazyjack.blog:1 Failed to load resource: net::ERR_FAILED
log.js:258 [AmpAnalytics <unknown id>] Error loading remote config: https://www.googletagmanager.com/amp.json?id=GTM-57ZFVVR Error: XHR Failed fetching (https://www.googletagmanager.com/…): Failed to fetch???
at hb (log.js:710)
at db.g.createExpectedError (log.js:370)
at xhr-impl.js:109
at async Promise.all (/index 0)
fb @ log.js:258
log.js:258 [AmpAnalytics <unknown id>] No request strings defined. Analytics data will not be sent from this page.
fb @ log.js:258
log.js:258 [AmpAnalytics <unknown id>] No triggers were found in the config. No analytics data will be sent.
fb @ log.js:258
The FetchEvent for “https://lazyjack.blog/” resulted in a network error response: an object that was not a Response was passed to respondWith().The page I need help with: [log in to see the link]
- The topic ‘Console Errors and Plugin Not Working Correctly’ is closed to new replies.