Element 'css': This element is not expected. in Magento 2.2.5 (upgraded from Magento 2.1.9) Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraElement 'css': This element is not expected in magento2.2.5Element 'css', attribute 'order': The attribute 'order' is not allowedXML attribute “after” throwing error after upgrade to Magento 2.2The attribute 'translate' is not allowed in Magento 2.2MagentoFrameworkConfigDomValidationExceptionifconfig does not work in <css /> tags in Magento 2ReflectionException - Class does not exist error after 2.2.5 from 2.1.9Invalid Document Element 'images': This element is not expected. Expected is ( videos )Exception #0 (MagentoFrameworkConfigDomValidationException)Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 745Element 'css': This element is not expected in magento2.2.5
What's the difference between using dependency injection with a container and using a service locator?
Expansion//Explosion and Siren Stormtamer
What is the least dense liquid under normal conditions?
The art of proof summarizing. Are there known rules, or is it a purely common sense matter?
What is it called when you ride around on your front wheel?
Can I criticise the more senior developers around me for not writing clean code?
c++ diamond problem - How to call base method only once
What's parked in Mil Moscow helicopter plant?
Is it OK if I do not take the receipt in Germany?
What ability score does a Hexblade's Pact Weapon use for attack and damage when wielded by another character?
Seek and ye shall find
Multiple options vs single option UI
Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?
Multiple fireplaces in an apartment building?
Why did C use the -> operator instead of reusing the . operator?
Is Electric Central Heating worth it if using Solar Panels?
My bank got bought out, am I now going to have to start filing tax returns in a different state?
Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?
Can you stand up from being prone using Skirmisher outside of your turn?
Married in secret, can marital status in passport be changed at a later date?
PIC mathematical operations weird problem
What is this word supposed to be?
Is Bran literally the world's memory?
What do you call the part of a novel that is not dialog?
Element 'css': This element is not expected. in Magento 2.2.5 (upgraded from Magento 2.1.9)
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraElement 'css': This element is not expected in magento2.2.5Element 'css', attribute 'order': The attribute 'order' is not allowedXML attribute “after” throwing error after upgrade to Magento 2.2The attribute 'translate' is not allowed in Magento 2.2MagentoFrameworkConfigDomValidationExceptionifconfig does not work in <css /> tags in Magento 2ReflectionException - Class does not exist error after 2.2.5 from 2.1.9Invalid Document Element 'images': This element is not expected. Expected is ( videos )Exception #0 (MagentoFrameworkConfigDomValidationException)Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 745Element 'css': This element is not expected in magento2.2.5
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'css': This element is not expected.
Line: 542 facing this issue in 2.2.5.
I have upgraded from Magento 2.1.9 to Magento 2.2.5 version.
Please help me guys.
magento2.2 css magento-2.2.5 exception
add a comment |
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'css': This element is not expected.
Line: 542 facing this issue in 2.2.5.
I have upgraded from Magento 2.1.9 to Magento 2.2.5 version.
Please help me guys.
magento2.2 css magento-2.2.5 exception
add a comment |
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'css': This element is not expected.
Line: 542 facing this issue in 2.2.5.
I have upgraded from Magento 2.1.9 to Magento 2.2.5 version.
Please help me guys.
magento2.2 css magento-2.2.5 exception
1 exception(s):
Exception #0 (MagentoFrameworkConfigDomValidationException): Element 'css': This element is not expected.
Line: 542 facing this issue in 2.2.5.
I have upgraded from Magento 2.1.9 to Magento 2.2.5 version.
Please help me guys.
magento2.2 css magento-2.2.5 exception
magento2.2 css magento-2.2.5 exception
edited 2 days ago
magefms
2,8302529
2,8302529
asked Oct 13 '18 at 16:42
gajjala sandeepgajjala sandeep
13512
13512
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The error is showing because there is layout file which has a node. you should check your custom theme's Magento_Theme/layout/default.xml file if you have any css node, ( also check your default_heads_block.xml file if you have added any custom css file ) if you don't fine any then check layout of specific page where this error is showing.
if you are using linux / ssh ( run this command it would find and list the file where this is added / declared )
grep -r -i --include *.xml '<css' app/design/frontend/
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
add a comment |
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%2f246374%2felement-css-this-element-is-not-expected-in-magento-2-2-5-upgraded-from-mag%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
The error is showing because there is layout file which has a node. you should check your custom theme's Magento_Theme/layout/default.xml file if you have any css node, ( also check your default_heads_block.xml file if you have added any custom css file ) if you don't fine any then check layout of specific page where this error is showing.
if you are using linux / ssh ( run this command it would find and list the file where this is added / declared )
grep -r -i --include *.xml '<css' app/design/frontend/
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
add a comment |
The error is showing because there is layout file which has a node. you should check your custom theme's Magento_Theme/layout/default.xml file if you have any css node, ( also check your default_heads_block.xml file if you have added any custom css file ) if you don't fine any then check layout of specific page where this error is showing.
if you are using linux / ssh ( run this command it would find and list the file where this is added / declared )
grep -r -i --include *.xml '<css' app/design/frontend/
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
add a comment |
The error is showing because there is layout file which has a node. you should check your custom theme's Magento_Theme/layout/default.xml file if you have any css node, ( also check your default_heads_block.xml file if you have added any custom css file ) if you don't fine any then check layout of specific page where this error is showing.
if you are using linux / ssh ( run this command it would find and list the file where this is added / declared )
grep -r -i --include *.xml '<css' app/design/frontend/
The error is showing because there is layout file which has a node. you should check your custom theme's Magento_Theme/layout/default.xml file if you have any css node, ( also check your default_heads_block.xml file if you have added any custom css file ) if you don't fine any then check layout of specific page where this error is showing.
if you are using linux / ssh ( run this command it would find and list the file where this is added / declared )
grep -r -i --include *.xml '<css' app/design/frontend/
answered Oct 14 '18 at 15:04
Naveed AsimNaveed Asim
2,7402317
2,7402317
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
add a comment |
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
Hi Naveed , i have found 4 css nodes then what should i do next step ? Can u pls help me out.
– gajjala sandeep
Oct 15 '18 at 12:54
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
update your question with that resulted code / record.
– Naveed Asim
Oct 15 '18 at 13:00
add a comment |
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%2f246374%2felement-css-this-element-is-not-expected-in-magento-2-2-5-upgraded-from-mag%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