Title: where&#8217;s the code error in that?
Last modified: August 18, 2016

---

# where’s the code error in that?

 *  Resolved [flush](https://wordpress.org/support/users/flush/)
 * (@flush)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/)
 * This error was spotted by the validator”
    Error Line 100, column 21: document
   type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir”
   start-tag .
 *  ` <li id="linkcat-2"><h2>Shop</h2> `
 * First of all I can’t find the corresponding php file, which one has the list 
   of my categories?
    Secondly, what’s wrong with that code?
 * my blog is [http://raphaella.co.kr/blog](http://raphaella.co.kr/blog)
    and this
   is error number 4 out of the 8 listed in the validator: [http://validator.w3.org/check?uri=http%3A%2F%2Fraphaella.co.kr%2Fblog%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1](http://validator.w3.org/check?uri=http%3A%2F%2Fraphaella.co.kr%2Fblog%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442497)
 * Now there are 10 errors 🙂
 * Re your questions:
    Any lists should start with `<ul>` or `<ol>`. Learn: [http://www.w3schools.com/html/html_lists.asp](http://www.w3schools.com/html/html_lists.asp)
 * The things in your sidebar, like the links (and the Link Categories – which are
   NOT the same as post categories!!!) are coded in the sidebar.php of the theme.
 *  Thread Starter [flush](https://wordpress.org/support/users/flush/)
 * (@flush)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442510)
 * But how can the mistake come from the sidebar.php file since I haven’t modified
   it, it’s the original one that came with the theme?
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442511)
 * What theme are you using? Sometimes themes get whacked in the design process….
   just depends on how “good” the theme author is….
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442512)
 * In the thread where this was first being discussed you stated you had edited 
   the sidebar.php,
 * “The files I modified are style.css, header.php, comments.php, sidebar.php, footer.
   php …”
 * His site is here, vkaryl, [http://raphaella.co.kr/blog/](http://raphaella.co.kr/blog/)
   and notice the footer. 😛
 * It’s fSpring.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442514)
 * Hmmm. Thanks, whooami. Guess I missed the earlier thread….
 * flush, I’m not familiar with the theme used, perhaps you need to contact the 
   theme author. Failing that, maybe you should start with the theme from scratch,
   reuploading the files and making your changes one at a time until you get to 
   the break-point (where the validator starts borking….)
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442515)
 * [http://wordpress.org/support/topic/84949?replies=8](http://wordpress.org/support/topic/84949?replies=8)
 *  Thread Starter [flush](https://wordpress.org/support/users/flush/)
 * (@flush)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442516)
 * Beats me. All I modified was the style.css
    Other than that I had to install 
   a few lines of script, an image map in the header.php I have an old blog using
   a more basic fSpring theme, the validator doesn’t show these ul errors. Can changes
   in the style.css file create a problem like this or is it totally unrelated?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘where’s the code error in that?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [flush](https://wordpress.org/support/users/flush/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/wheres-the-code-error-in-that/#post-442516)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
