Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMP compatibility error #4162

Open
irinelenache opened this issue Nov 29, 2023 · 1 comment
Open

AMP compatibility error #4162

irinelenache opened this issue Nov 29, 2023 · 1 comment
Labels
3rd-part-compatibilities Issue or feature related to a compatibility with a 3rd party product. bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer.

Comments

@irinelenache
Copy link
Contributor

Description

A user reported that he gets some compatibility errors pointing to Neve, while using AMP plugin

Reported here - https://wordpress.org/support/topic/neve-amp-compatibility-errors/

The errors:

[
{
"url": "https://myinvestmentideas.com/10-largecap-mutual-funds-offered-maximum-returns-in-5-years-in-2023/",
"type": "is_singular[post]",
"label": "Post",
"amp_url": "https://myinvestmentideas.com/10-largecap-mutual-funds-offered-maximum-returns-in-5-years-in-2023/amp/",
"validation_errors": [
{
"code": "INVALID_ATTR_VALUE",
"element_attributes": {
"class": "arrow-unsorted-368013 amp-wp-0f296dc",
"xmlns": "http://www.w3.org/2000/svg",
"width": "10px",
"height": "10px",
"viewbox": "0 0 24 24",
"version": "1.2",
"baseprofile": "tiny",
"data-amp-original-style": "fill: #999;color:#999"
},
"node_name": "version",
"parent_name": "svg",
"type": "html_attribute_error",
"node_type": 2,
"sources": [
{
"type": "theme",
"name": "neve",
"file": "inc/views/post_layout.php",
"line": 70,
"function": "Neve\Views\Post_Layout::render_post",
"hook": "neve_do_single_post",
"priority": 10
}
]
},
{
"code": "DISALLOWED_ATTR",
"element_attributes": {
"class": "arrow-unsorted-368013 amp-wp-0f296dc",
"xmlns": "http://www.w3.org/2000/svg",
"width": "10px",
"height": "10px",
"viewbox": "0 0 24 24",
"version": "1.2",
"baseprofile": "tiny",
"data-amp-original-style": "fill: #999;color:#999"
},
"node_name": "baseprofile",
"parent_name": "svg",
"type": "html_attribute_error",
"node_type": 2,
"sources": [
{
"type": "theme",
"name": "neve",
"file": "inc/views/post_layout.php",
"line": 70,
"function": "Neve\Views\Post_Layout::render_post",
"hook": "neve_do_single_post",
"priority": 10
}
]
}
],
"stale": false,
"error": false,
"validated_url_post": {
"id": 35535,
"edit_link": "https://myinvestmentideas.com/wp-admin/post.php?post=35535&action=edit"
}
}
]

Step-by-step reproduction instructions

  1. Don't have any steps, i couldn't replicate it

Screenshots, screen recording, code snippet or Help Scout ticket

https://wordpress.org/support/topic/neve-amp-compatibility-errors/

Environment info

No response

Is the issue you are reporting a regression

No

@irinelenache irinelenache added bug This label could be used to identify issues that are caused by a defect in the product. 3rd-part-compatibilities Issue or feature related to a compatibility with a 3rd party product. customer report Indicates the request came from a customer. labels Nov 29, 2023
@vytisbulkevicius
Copy link
Contributor

@irinelenache,

The URL shared no longer uses the Neve theme, so if we don't have steps to replicate the problem, it's hard to advise something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd-part-compatibilities Issue or feature related to a compatibility with a 3rd party product. bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer.
Projects
None yet
Development

No branches or pull requests

2 participants