AMP Errors and WARNINGS!

Posted in: Newspaper
Post count: 39

Hello, I noticed many times when i activate the mobile theme plugin as well as AMP i start having issues showing up on my google search console, so far i have 10 issues (8 issues & 2 warnings):

1 – The tag ‘img’ should be replaced with an equivalent ‘amp-img’ tag.
2 – A tag on this page requires an AMP component ‘script’ tag, which is missing.
3 – A mandatory AMP HTML tag is missing from this document.
4 – Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
5 – Custom JavaScript is not allowed.
6 – External stylesheets not supported, except for whitelisted font providers. Use the document inline ‘style amp-custom’ tag instead.
7 – Disallowed attribute or attribute value present in HTML tag.
8 – Invalid URL protocol in attribute ‘src’ of tag ‘iframe’.
9 (warnings) – Image size smaller than the recommended size
10 (warnings) – An HTML tag contains the same attribute repeated multiple times.

Please, guide me to how i fix it!
Thank you.

Post count: 35449

Hi medriad, if you are using the mobile theme template for amp plugin there should be no problems -> https://i.imgur.com/WczgQAS.png
If there are still some problems, please provide me a link where I can insect them.
Thank you!

Post count: 39

I don’t want to select that option because simply if i select it, i would find another issue with cloud template, i made a template for certain pages which i used Smart List with-> https://i.imgur.com/pFme9I3.png
But if i select Mobile + AMP the page design would change as this photo-> https://i.imgur.com/H8n1yuE.png plus an issue with ads appearance once i selected that option.
Can you guide me please what i should change in my setting to have the same cloud template as in desktop-> https://i.imgur.com/pFme9I3.png and at the same time get rid of the mentioned issues by Google Search Console!
thank you!

Post count: 35449

Hi,
As a solution you can use the amp plugin without mobile theme and set the amp option like this -> https://i.imgur.com/lbe43pJ.png
After that check if your posts are amp or not and if the errors still persists.
Let me know the results!

Post count: 39

Alright, sir
I adjust settings as you told me, so far everything looks fine,
I will give it a couple of days and see if there are any problems,
If so, should i write another post or just type another comment in this same post?
Thank you for your help!

Post count: 35449

Hi, we can continue on this topic!
Let me know the results!

Post count: 39

Hi, so far all things are good, but as a side note, i found different settings on my theme after the last update, nonetheless, now I’m facing another issue with the smart list design.
For example, this is a smart list topic:
https://www.techonnect.com/top-7-electric-suvs-2021/
when i try to move on to the next list:
https://www.techonnect.com/top-7-electric-suvs-2021/2
i face a redirecting to the same first-page post, i tried to change the smart list design to the default ones but still facing the same problem… how i can fix this, please?

Post count: 35449

Hi medriad,

Indeed this seems to be a problem, is look that for some users on WordPress v5.5 the smart list is always redirect to parent link. Our developers are already inspecting this problem to find a fix as soon as possible!

Thank you for your understanding and sorry for the inconvenience!

Post count: 39

Hello again,
is there any news, please?
too many articles have effected because of that on my website

Post count: 7

Hello medriad!

I had the same problem but I fixed it by downgrading WordPress until they fix this.
I used WP Downgrade ( https://wordpress.org/plugins/wp-downgrade/ ). I recommend you doing the same until they find a solution.

Thank you!

Post count: 35449

Hi,

To fix this problem with smart list you need to replace the content from this file path wp-content/themes/Newspaper/functions.php with this code
Also these changes will be add in an update as soon as possible.

Hope this will help you!
Thank you!

Post count: 39

Hello,
Thank you for your replay, although I replaced both code files and save them,
I’m still facing the problem, unfortunately, that didn’t work with me…
any other suggestions?
Thanks

Post count: 39

OH! that’s weird,
it worked on this post ->
https://www.techonnect.com/top-10-everyday-electric-cars-based-on-topgeats-selection-2020/
but not with with one ->
https://www.techonnect.com/top-7-electric-suvs-2021
M i missing something? I’m using the same exact cloud template for both articles
Thank you!

Post count: 39

Also, it didn’t work with this one,
https://www.techonnect.com/5-best-tools-you-need-data-loss-prevention-2020/
it’s arbitrary!
Ps: they all use the same template.

Post count: 35449

Hi medriad, If you want we can take a look, maybe you have something different from what we tested.
Please make a full backup and send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.
Thank you!

Post count: 39

Hi Calin,
Yesterday, I sent them my information
waiting for your replay guys
thanks

Post count: 35449

Hi medriad,
We received your email, we’ll check the problem and reply with an answer as quick as we can!
Have a nice day!

Post count: 39

Alright sir, I’m waiting for your reply, thank you.

Post count: 161

Hi,

I tested here replacing in the theme folder and it worked, but only works on desktop, in mobile the problem persists.

Thanks

Post count: 35449

Hi,

Please check the answer from this topic -> https://forum.tagdiv.com/topic/smartlist-not-working-more-after-wordpress-update-5-5/#post-362516

If there is still a problem, let me know!
Thank you!

Viewing 20 posts - 1 through 20 (of 20 total)
The forum ‘Newspaper’ is closed to new topics and replies.