• I updated AMPforWP to the new version last Sunday, 5 days ago. Since then, Google Search Console has encountered problems with all my AMP pages, the message it shows from Google Search Console is “Cannot include custom JavaScript.”

    I have not edited anything, nor have I changed anything except to update your plugin (I do not have high knowledge to program or edit). I find it strange that this message suddenly appears.

    If I search my pages in Google with the mobile, the AMP icon does not even appear and if I visit it it does not show the AMP version.

    If I search my pages in Google from my desktop PC, google itself shows a message of: Your page has AMP implementation errors.

    You can see the error example in this article:

    https://yummybarcelona.com/hinichi-ramen/

    But I have AMP activated in all my articles.

    YOU CAN SEE in this image my Google Search Console problems: https://yummybarcelona.com/wp-content/uploads/2021/06/amp-problems.png

    What could be happening?`

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Are you using any custom JS? Please note, AMP doesn’t support Custom JS and so, Google is throwing you this validation error.
    Kindly remove the Custom JavaScript code you are using in AMP, this will help you in validating the AMP pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Problems with last AMPforWP Plugin Update’ is closed to new replies.