Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Errors in code
Tagged: code
- This topic has 1 reply, 2 voices, and was last updated 9 years ago by Anshuman Sahu.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
November 28, 2015 at 10:47 am #11148willanSpectatorHi, I checked my site in https://validator.w3.org/ and it returned the following problems. They seem kind of significant, is there anything I can do to fix them? My site has a really long load time, and I was thinking that this might be one of the reasons. Thanks in advance! :)
-
<li id="vnuId9" class="info" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ccffcc;">Info: <span style="color: black;">The Content-Type was <code style="white-space: pre-wrap; word-wrap: break-word; font-weight: normal;">text/html. Using the HTML parser.</span></p>
<li id="vnuId10" class="info" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ccffcc;">Info: <span style="color: black;">Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support.</span></p>
<li id="vnuId0" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Bad value <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; font-weight: normal;">http://fonts.googleapis.com/css?family=Lora:regular,700|Open+Sans:300|Roboto:300|Oswald:600 for attribute <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; font-weight: normal;">href on element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">link: Illegal character in query: not a URL code point.</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">73</span>, column <span class="first-col">1</span>; to line <span class="last-line">73</span>, column <span class="last-col">178</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;">='all' /><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><span style="background-color: #ffff80;"><link rel='stylesheet' id='google-webfonts-css' href='http://fonts.googleapis.com/css?family=Lora:regular,700|Open+Sans:300|Roboto:300|Oswald:600' type='text/css' media='all' /></span><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><link</p>
<dl style="margin-top: 0.5em; margin-bottom: 0px;"><dt>Syntax of URL:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Any URL. For example: <code style="white-space: pre-wrap; word-wrap: break-word;">/hello, <code style="white-space: pre-wrap; word-wrap: break-word;">#canvas, or <code style="white-space: pre-wrap; word-wrap: break-word;">http://example.org/. Characters should be represented in NFC and spaces should be escaped as <code style="white-space: pre-wrap; word-wrap: break-word;">%20.</dd></dl>
<li id="vnuId1" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">style not allowed as child of element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">body in this context. (Suppressing further errors from this subtree.)</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">297</span>, column <span class="first-col">3</span>; to line <span class="last-line">297</span>, column <span class="last-col">9</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;">script><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span> <span style="background-color: #ffff80;"><style></span><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span> </p>
<dl style="margin-top: 0.5em; margin-bottom: 0px;"><dt>Contexts in which element <code style="white-space: pre-wrap; word-wrap: break-word;">style may be used:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: where metadata content is expected.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: in a <code style="white-space: pre-wrap; word-wrap: break-word;">noscript element that is a child of a <code style="white-space: pre-wrap; word-wrap: break-word;">head element.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace and <code style="white-space: pre-wrap; word-wrap: break-word;">style elements, and not as the child of an element whose content model is transparent.</dd><dt>Content model for element <code style="white-space: pre-wrap; word-wrap: break-word;">body:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Flow content.</dd></dl>
<li id="vnuId2" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">style not allowed as child of element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">body in this context. (Suppressing further errors from this subtree.)</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">326</span>, column <span class="first-col">2</span>; to line <span class="last-line">326</span>, column <span class="last-col">38</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;"></style><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span> <span style="background-color: #ffff80;"><style type="text/css" media="print"></span>#wpadm</p>
<dl style="margin-top: 0.5em; margin-bottom: 0px;"><dt>Contexts in which element <code style="white-space: pre-wrap; word-wrap: break-word;">style may be used:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: where metadata content is expected.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: in a <code style="white-space: pre-wrap; word-wrap: break-word;">noscript element that is a child of a <code style="white-space: pre-wrap; word-wrap: break-word;">head element.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace and <code style="white-space: pre-wrap; word-wrap: break-word;">style elements, and not as the child of an element whose content model is transparent.</dd><dt>Content model for element <code style="white-space: pre-wrap; word-wrap: break-word;">body:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Flow content.</dd></dl>
<li id="vnuId3" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">style not allowed as child of element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">body in this context. (Suppressing further errors from this subtree.)</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">327</span>, column <span class="first-col">1</span>; to line <span class="last-line">327</span>, column <span class="last-col">38</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;">}</style><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><span style="background-color: #ffff80;"><style type="text/css" media="screen"></span><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span> html</p>
<dl style="margin-top: 0.5em; margin-bottom: 0px;"><dt>Contexts in which element <code style="white-space: pre-wrap; word-wrap: break-word;">style may be used:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: where metadata content is expected.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: in a <code style="white-space: pre-wrap; word-wrap: break-word;">noscript element that is a child of a <code style="white-space: pre-wrap; word-wrap: break-word;">head element.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace and <code style="white-space: pre-wrap; word-wrap: break-word;">style elements, and not as the child of an element whose content model is transparent.</dd><dt>Content model for element <code style="white-space: pre-wrap; word-wrap: break-word;">body:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Flow content.</dd></dl>
<li id="vnuId4" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">style not allowed as child of element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">body in this context. (Suppressing further errors from this subtree.)</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">335</span>, column <span class="first-col">1</span>; to line <span class="last-line">335</span>, column <span class="last-col">7</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;"><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span></style><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><span style="background-color: #ffff80;"><style></span>.butto</p>
<dl style="margin-top: 0.5em; margin-bottom: 0px;"><dt>Contexts in which element <code style="white-space: pre-wrap; word-wrap: break-word;">style may be used:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: where metadata content is expected.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is absent: in a <code style="white-space: pre-wrap; word-wrap: break-word;">noscript element that is a child of a <code style="white-space: pre-wrap; word-wrap: break-word;">head element.</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">If the <code style="white-space: pre-wrap; word-wrap: break-word;">scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace and <code style="white-space: pre-wrap; word-wrap: break-word;">style elements, and not as the child of an element whose content model is transparent.</dd><dt>Content model for element <code style="white-space: pre-wrap; word-wrap: break-word;">body:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Flow content.</dd></dl>
<li id="vnuId5" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Element <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px;">style is missing required attribute <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; font-weight: normal;">scoped.</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">561</span>, column <span class="first-col">117</span>; to line <span class="last-line">561</span>, column <span class="last-col">123</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;"><noscript><span style="background-color: #ffff80;"><style></span> .wpb_</p>
<dl style="margin-top: 0.5em; margin-bottom: 0px;"><dt>Attributes for element <code style="white-space: pre-wrap; word-wrap: break-word;">style:</dt><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Global attributes</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word;">media</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word;">type</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word;">scoped</dd><dd style="margin-left: 1.5em; padding-left: 0px; margin-top: 2px; line-height: 1.8;">Also, the <code style="white-space: pre-wrap; word-wrap: break-word;">title attribute has special semantics on this element.</dd></dl>
<li id="vnuId6" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Stray end tag <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; font-weight: normal;">head.</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">561</span>, column <span class="first-col">192</span>; to line <span class="last-line">561</span>, column <span class="last-col">198</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;">/noscript><span style="background-color: #ffff80;"></head></span><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><body</p>
<li id="vnuId7" class="error" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Error: <span style="color: black;">Start tag <code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; font-weight: normal;">body seen but an element of the same type was already open.</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">562</span>, column <span class="first-col">1</span>; to line <span class="last-line">562</span>, column <span class="last-col">188</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;">t></head><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><span style="background-color: #ffff80;"><body class="home-page home page page-id-2094 page-template page-template-notitle page-template-notitle-php admin-bar no-customize-support wpb-js-composer js-comp-ver-4.6.2 vc_responsive"></span><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><div </p>
<li id="vnuId8" class="error fatal" style="margin: 0px 0px 8px; padding: 0.5em 0.5em 0.5em 12px; color: black; border: 1px solid #cccccc; border-radius: 4px; background-color: white;">
<p style="margin: 0px; line-height: 1.8; font-size: 16px; font-weight: bold; color: transparent;"><strong style="color: black; padding: 1px 6px; border-radius: 6px; border: 1px solid #cccccc; font-family: Arial; font-stretch: normal; line-height: normal; background-color: #ffcccc;">Fatal Error: <span style="color: black;">Cannot recover after last error. Any further errors will be ignored.</span></p>
<p class="location" style="margin: 0px; line-height: 1.8;">From line <span class="first-line">562</span>, column <span class="first-col">1</span>; to line <span class="last-line">562</span>, column <span class="last-col">188</span></p>
<p class="extract" style="margin: 0px; overflow: hidden; max-height: 5.5em; line-height: 1.8;"><code style="white-space: pre-wrap; word-wrap: break-word; border: 1px dashed #999999; padding: 2px 4px; background-color: inherit;">t></head><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><span style="background-color: #ffff80;"><body class="home-page home page page-id-2094 page-template page-template-notitle page-template-notitle-php admin-bar no-customize-support wpb-js-composer js-comp-ver-4.6.2 vc_responsive"></span><span class="lf" style="color: #222222; border-bottom-width: thin; border-bottom-style: dotted; cursor: help;" title="Line break">↩</span><div </p>
November 30, 2015 at 8:15 am #11338Anshuman SahuKeymasterPlease note that the most of the html is generated by the php in wordpress and wordpress inserts many of the style and scripts tags while generating the page . Thanks for reporting these we would try resolving these error in upcoming updates of wplms . -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Errors in code’ is closed to new replies.