Archived topic
AMP Invalid attribute ":"
11 replies · Started by Eugene on September 28, 2021
Hello all!
After updating GP to the last version received this error on my AMP website:
Invalid attribute ":"
Please see the screenshot. https://www.dropbox.com/s/7ilvwmpjv27mu1u/Invalid%20attribute.jpg?dl=0
AMP Validation ULRs: https://www.dropbox.com/s/z8iazgqkuosw22g/AMP%20urls.jpg?dl=0
Thank you
Hi there,
It's strange that it's having an invalid attribute when GP itself doesn't add the character : to the source code.
Can you share more about how the site was setup? (i.e. AMP Plugin used, etc)
Elvin, thanks for your reply.
I use amp-wp.org plugin 2.1.4 with AMP for GeneratePress 0.1
Error details for page https://duomit.com/basement-flooring/:
https://www.dropbox.com/s/gkjf4bie97xmzk3/Error%201.png?dl=0
https://www.dropbox.com/s/x6egw50h0f650rk/Error%202.png?dl=0
Hi there,
I'm not seeing that : character in the source HTML: https://www.screencast.com/t/7c9gW5FOrIhD
However, there are some weird quotations around the auto-hide-sticky attribute. What version of GP/GPP are you using?
Hi Tom,
GeneratePress 3.0.4
GP Premium 2.1.0-beta.1
Hope this helps.
We've found and fixed the double-quote issue for 2.1.0-beta.2.
Hopefully that fixes it, as I'm not seeing : anywhere in the code.
Thanks, Tom.
Hope to try the new Beta soon.
Hi there,
Just a heads up that this should be resolved in the latest GPP beta.
Let me know :)
Hi Tom
Thanks for checking in. Now eve more pages affected:
https://www.dropbox.com/s/wqnczyu9rfpsqfq/Screen%20Shot%202021-10-11%20at%205.20.52%20PM.png?dl=0
Same issue.
Hi there,
are you using the latest Beta version of GP Premium ?
Yes, David
GeneratePress 3.0.4
GP Premium 2.1.0-beta.2
Cleared cash and now all good! Thank you, folks!
Keep up the good work!
Glad to hear that!!