Some of product detail page error- Element 'reference': This element is not expectedXml Element reference is not allowed hereXML attribute “after” throwing error after upgrade to Magento 2.2Magento 2 DOM validation exception when in developer modeMagento 2 Error : what is this error?Magento 2 Element 'file': This element is not expectedCannot open catalog edit/add product after enabling developer modeMove element is not working as expected in magento 2.1Magento 2: Errors displaying on setting devolper modeMsrpPriceCalculator ExceptionWhen I switch the mode default to developer of magento2.2.3 then got this error Element 'count': This element is not expected
"File type Zip archive (application/zip) is not supported" when opening a .pdf file
Can a Warforged have a ranged weapon affixed to them like an armblade?
Good examples of "two is easy, three is hard" in computational sciences
How to convince boss to spend notice period on documentation instead of new projects
How come Arya Stark wasn't hurt by this in Game of Thrones Season 8 Episode 5?
Is being an extrovert a necessary condition to be a manager?
Is it possible to view all the attribute data in QGIS
If you attack a Tarrasque while swallowed, what AC do you need to beat to hit it?
Why does snapping your fingers activate the Infinity Gauntlet?
Is it a good idea to teach algorithm courses using pseudocode instead of a real programming language?
Why would Thor need to strike a building with lightning to attack enemies?
How do we explain the use of a software on a math paper?
Parse a C++14 integer literal
Why favour the standard WP loop over iterating over (new WP_Query())->get_posts()?
What were the "pills" that were added to solid waste in Apollo 7?
Find the 3D region containing the origin bounded by given planes
Would it be possible to set up a franchise in the ancient world?
Better than Rembrandt
How could the B-29 bomber back up under its own power?
What does this 'x' mean on the stem of the voice's note, above the notehead?
Can't think of a good word or term to describe not feeling or thinking
Chain rule instead of product rule
Why aren't satellites disintegrated even though they orbit earth within earth's Roche Limits?
Greek theta instead of lower case þ (Icelandic) in TexStudio
Some of product detail page error- Element 'reference': This element is not expected
Xml Element reference is not allowed hereXML attribute “after” throwing error after upgrade to Magento 2.2Magento 2 DOM validation exception when in developer modeMagento 2 Error : what is this error?Magento 2 Element 'file': This element is not expectedCannot open catalog edit/add product after enabling developer modeMove element is not working as expected in magento 2.1Magento 2: Errors displaying on setting devolper modeMsrpPriceCalculator ExceptionWhen I switch the mode default to developer of magento2.2.3 then got this error Element 'count': This element is not expected
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When I tried to change or open product I got next message:
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Some of products have this error and I don't know where in XML I was wrong?
<?xml version="1.0"?>
<move element="page.main.title" destination="product.info.main" before="-"/>
<move element="product.info.review" destination="product.info.main" before="product.info.price"/>
<referenceBlock name="product.info.sku" remove="true" />
<referenceBlock name="product.info.overview">
<arguments>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
</arguments>
</referenceBlock>
<referenceContainer name="product.info.media">
</referenceContainer>
<move element="product.info.stock.sku" destination="product.info.main" after="page.main.title"/>
<container name="cart.wrapper" htmlTag="div" htmlClass="d-flex flex-column bg-smoke pl-5 py-4"/>
<move element="cart.wrapper" destination="product.info.main" after="product.info.description"/>
<move element="product.price.final" destination="cart.wrapper" before="product.info"/>
<move element="product.info" destination="cart.wrapper" after="-"/>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.anchor" template="Hiddentechies_Bizkick::product/anchors.phtml"/>
<move element="product.info.anchor" destination="content" after="product.info.media"/>
<move element="content.aside" destination="content" after="product.info.anchor"/>
<move element="product.info.details" destination="content" after="content.aside"/>
-->
-->
<move element="product.price.tier" destination="cart.wrapper" after="product.info" />
<referenceContainer name="alert.urls" remove="true"/>
<referenceContainer name="product.info.extrahint" remove="true"/>
<referenceContainer name="product.info.review" remove="true"/>
</body>
product xml magento2.3 preference
add a comment |
When I tried to change or open product I got next message:
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Some of products have this error and I don't know where in XML I was wrong?
<?xml version="1.0"?>
<move element="page.main.title" destination="product.info.main" before="-"/>
<move element="product.info.review" destination="product.info.main" before="product.info.price"/>
<referenceBlock name="product.info.sku" remove="true" />
<referenceBlock name="product.info.overview">
<arguments>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
</arguments>
</referenceBlock>
<referenceContainer name="product.info.media">
</referenceContainer>
<move element="product.info.stock.sku" destination="product.info.main" after="page.main.title"/>
<container name="cart.wrapper" htmlTag="div" htmlClass="d-flex flex-column bg-smoke pl-5 py-4"/>
<move element="cart.wrapper" destination="product.info.main" after="product.info.description"/>
<move element="product.price.final" destination="cart.wrapper" before="product.info"/>
<move element="product.info" destination="cart.wrapper" after="-"/>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.anchor" template="Hiddentechies_Bizkick::product/anchors.phtml"/>
<move element="product.info.anchor" destination="content" after="product.info.media"/>
<move element="content.aside" destination="content" after="product.info.anchor"/>
<move element="product.info.details" destination="content" after="content.aside"/>
-->
-->
<move element="product.price.tier" destination="cart.wrapper" after="product.info" />
<referenceContainer name="alert.urls" remove="true"/>
<referenceContainer name="product.info.extrahint" remove="true"/>
<referenceContainer name="product.info.review" remove="true"/>
</body>
product xml magento2.3 preference
check if all products that have this error share a type (e.g. configurable) or if they have layout updates entered via the admin panel
– simonthesorcerer
May 13 at 16:14
add a comment |
When I tried to change or open product I got next message:
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Some of products have this error and I don't know where in XML I was wrong?
<?xml version="1.0"?>
<move element="page.main.title" destination="product.info.main" before="-"/>
<move element="product.info.review" destination="product.info.main" before="product.info.price"/>
<referenceBlock name="product.info.sku" remove="true" />
<referenceBlock name="product.info.overview">
<arguments>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
</arguments>
</referenceBlock>
<referenceContainer name="product.info.media">
</referenceContainer>
<move element="product.info.stock.sku" destination="product.info.main" after="page.main.title"/>
<container name="cart.wrapper" htmlTag="div" htmlClass="d-flex flex-column bg-smoke pl-5 py-4"/>
<move element="cart.wrapper" destination="product.info.main" after="product.info.description"/>
<move element="product.price.final" destination="cart.wrapper" before="product.info"/>
<move element="product.info" destination="cart.wrapper" after="-"/>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.anchor" template="Hiddentechies_Bizkick::product/anchors.phtml"/>
<move element="product.info.anchor" destination="content" after="product.info.media"/>
<move element="content.aside" destination="content" after="product.info.anchor"/>
<move element="product.info.details" destination="content" after="content.aside"/>
-->
-->
<move element="product.price.tier" destination="cart.wrapper" after="product.info" />
<referenceContainer name="alert.urls" remove="true"/>
<referenceContainer name="product.info.extrahint" remove="true"/>
<referenceContainer name="product.info.review" remove="true"/>
</body>
product xml magento2.3 preference
When I tried to change or open product I got next message:
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'reference': This element is not expected.
Line: 1
Some of products have this error and I don't know where in XML I was wrong?
<?xml version="1.0"?>
<move element="page.main.title" destination="product.info.main" before="-"/>
<move element="product.info.review" destination="product.info.main" before="product.info.price"/>
<referenceBlock name="product.info.sku" remove="true" />
<referenceBlock name="product.info.overview">
<arguments>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
</arguments>
</referenceBlock>
<referenceContainer name="product.info.media">
</referenceContainer>
<move element="product.info.stock.sku" destination="product.info.main" after="page.main.title"/>
<container name="cart.wrapper" htmlTag="div" htmlClass="d-flex flex-column bg-smoke pl-5 py-4"/>
<move element="cart.wrapper" destination="product.info.main" after="product.info.description"/>
<move element="product.price.final" destination="cart.wrapper" before="product.info"/>
<move element="product.info" destination="cart.wrapper" after="-"/>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.anchor" template="Hiddentechies_Bizkick::product/anchors.phtml"/>
<move element="product.info.anchor" destination="content" after="product.info.media"/>
<move element="content.aside" destination="content" after="product.info.anchor"/>
<move element="product.info.details" destination="content" after="content.aside"/>
-->
-->
<move element="product.price.tier" destination="cart.wrapper" after="product.info" />
<referenceContainer name="alert.urls" remove="true"/>
<referenceContainer name="product.info.extrahint" remove="true"/>
<referenceContainer name="product.info.review" remove="true"/>
</body>
product xml magento2.3 preference
product xml magento2.3 preference
asked May 13 at 14:31
Ashen OneAshen One
427
427
check if all products that have this error share a type (e.g. configurable) or if they have layout updates entered via the admin panel
– simonthesorcerer
May 13 at 16:14
add a comment |
check if all products that have this error share a type (e.g. configurable) or if they have layout updates entered via the admin panel
– simonthesorcerer
May 13 at 16:14
check if all products that have this error share a type (e.g. configurable) or if they have layout updates entered via the admin panel
– simonthesorcerer
May 13 at 16:14
check if all products that have this error share a type (e.g. configurable) or if they have layout updates entered via the admin panel
– simonthesorcerer
May 13 at 16:14
add a comment |
1 Answer
1
active
oldest
votes
Looks like this error related to your XML layout files, you have element , this will show the error, You you need to search ' element in admin in XML Layout update field in Category, CMS Page and etc.
As you are getting this is product detail page so you should look in product detail xml or it's admin section of layout updates.
Or there may be third party extension which have layout update related xml.
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
|
show 3 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f274374%2fsome-of-product-detail-page-error-element-reference-this-element-is-not-expe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like this error related to your XML layout files, you have element , this will show the error, You you need to search ' element in admin in XML Layout update field in Category, CMS Page and etc.
As you are getting this is product detail page so you should look in product detail xml or it's admin section of layout updates.
Or there may be third party extension which have layout update related xml.
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
|
show 3 more comments
Looks like this error related to your XML layout files, you have element , this will show the error, You you need to search ' element in admin in XML Layout update field in Category, CMS Page and etc.
As you are getting this is product detail page so you should look in product detail xml or it's admin section of layout updates.
Or there may be third party extension which have layout update related xml.
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
|
show 3 more comments
Looks like this error related to your XML layout files, you have element , this will show the error, You you need to search ' element in admin in XML Layout update field in Category, CMS Page and etc.
As you are getting this is product detail page so you should look in product detail xml or it's admin section of layout updates.
Or there may be third party extension which have layout update related xml.
Looks like this error related to your XML layout files, you have element , this will show the error, You you need to search ' element in admin in XML Layout update field in Category, CMS Page and etc.
As you are getting this is product detail page so you should look in product detail xml or it's admin section of layout updates.
Or there may be third party extension which have layout update related xml.
answered May 13 at 16:59
Saphal JhaSaphal Jha
1,052616
1,052616
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
|
show 3 more comments
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
I don't know. I already google this, so I know that its can be trouble with XML file. But, as I said before, only some of products have that error. A saw the one strange thing - some of products duplicated on front view, but only one on my database. Mb it's trouble with db cache or similar.
– Ashen One
May 13 at 18:05
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
Can you please check how much cache used in app/etc/env.php file? if you are using varnish/rediss/mem cache then clear those cache.
– Saphal Jha
May 13 at 18:08
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
@Sahal Jha how can i check info about cache in env.php file? I open it, and here some additional, array-like info.
– Ashen One
May 13 at 18:40
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
just open and find one of this : varnish / rediss / mem
– Saphal Jha
May 13 at 18:45
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
sorry, but I don't have local version of project. Tomorrow I will check and write results. Thanks.
– Ashen One
May 13 at 18:54
|
show 3 more comments
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f274374%2fsome-of-product-detail-page-error-element-reference-this-element-is-not-expe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
check if all products that have this error share a type (e.g. configurable) or if they have layout updates entered via the admin panel
– simonthesorcerer
May 13 at 16:14