Skip to content
Public Ticket #12242

Errors AMP

Conversation thread

PenciDesign replied

Staff Reply

Hi,

First, please make sure you do the AMP config like we said on the documentation here

After that, check again your amp page via https://search.google.com/test/amp

If it has any error, continue try deactivate all plugins ( except plugins come from the theme ) and try it again. If it works, let's enable each plugin to check what's plugin caused this issue.

Best Regards,

PenciDesign

andresgonpaz started the conversation

Conversation Start

Hello, I have installed and configured as indicated in the guide the AMP version of penci, but the google search console reports errors in all posts. Could you help me solve these problems

You need to specify the script tag for an AMP component, which is missing on this page.

Only "style" tags with "amp-boilerplate" and "amp-custom" are allowed, and can only be placed in the document header.
Attributes of HTML events, known as "on *", are not allowed in AMP. They use "amp-bind".

A mandatory AMP HTML tag is missing in this document.
A tag was found outside the document header that is only allowed as a direct child tag of the document.

You cannot include custom JavaScript.

Want to join this conversation or access attachments? Sign in first.