Title: XHTML Validation, Plugins causing errors
Last modified: August 18, 2016

---

# XHTML Validation, Plugins causing errors

 *  Resolved [cythera](https://wordpress.org/support/users/cythera/)
 * (@cythera)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/xhtml-validation-plugins-causing-errors/)
 * [http://validator.w3.org/check?uri=http%3A%2F%2Fcomatose.nu%2F](http://validator.w3.org/check?uri=http%3A%2F%2Fcomatose.nu%2F)
 * Following the link above will show you the errors I am trying to fix. All errors
   are caused by 2 plugins that I am using.
    [Scrobbles](http://robm.me.uk/projects/plugins/wordpress/scrobbles/)
   and a [recent comments](http://blog.jodies.de/archiv/2004/11/13/recent-comments/)
   plugin.
 * Seeing as I’m new to this, I have no idea of how to correct these errors, anyone
   got any ideas I could try out?

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/xhtml-validation-plugins-causing-errors/#post-384847)
 * Your 1st 5 errors can be fixed by editing your sidebar.php where you have:
    `
   Music [:SITD:] Wegweiser Suicide Commando Hellraiser (Psychopath 01-Version) 
   Tactikal Sekt Bring Me Violence Das Ich Macht Suicide Commando Mordfabrik
 * Simply remove the several `<li>` – you don’t need them with `<span>` in that 
   instance.
 * #7 – Right before “Recent comments” in same file you have
    `<li><ul>` and below
   the comments `</li></ul>` Remove the `<li>` and `</li>` # 8-9 Same file Under“
   Archives” you need a `<ul>` before the `<li>` (actual dates) and `</ul>` after
   actual dates.
 * Hope this is understandable?
 *  [kenkam](https://wordpress.org/support/users/kenkam/)
 * (@kenkam)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/xhtml-validation-plugins-causing-errors/#post-384848)
 * I took a look, and the error is caused by that music column of yours.
 * You have to have a `<ul>` tag before `<li></li>` tags
    e.g. `<ul> <li> a list
   item </li> </ul>
 *  Thread Starter [cythera](https://wordpress.org/support/users/cythera/)
 * (@cythera)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/xhtml-validation-plugins-causing-errors/#post-384905)
 * Oh, sorry. I forgot to add the lines from my sidebar.php and from the scrobbles.
   php file.
 * This is what I have in my sidebar:
    `<span class="title">Music</span><br /> <?
   php scrobbles('Cythera'); ?><br />
 * And this is from the scrobbles.php file.
    ` if(empty($format_string)) $format_string
   = '<li>%artist% %title%</li>'; if(empty($date_format)) $date_format = 'F jS Y
   @ g:i A'; if(empty($each_element)) $each_element = 'ul';
 * As you can see from the coding from the scrobbles file I have been trying to 
   solve this on my own.
    Right now the only error caused by scrobbles is a `</>`
   in the end of the music list.
 * And something with my archive list..
    Which right now looks like this: `<ul><?
   php wp_get_archives('type=monthly&show_post_count=1'); ?></ul><br />`

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

The topic ‘XHTML Validation, Plugins causing errors’ is closed to new replies.

## Tags

 * [xhtml](https://wordpress.org/support/topic-tag/xhtml/)

 * 3 replies
 * 3 participants
 * Last reply from: [cythera](https://wordpress.org/support/users/cythera/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/xhtml-validation-plugins-causing-errors/#post-384905)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
