Title: Cannot Validate Post Page
Last modified: August 18, 2016

---

# Cannot Validate Post Page

 *  [newhope4u](https://wordpress.org/support/users/newhope4u/)
 * (@newhope4u)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/cannot-validate-post-page/)
 * Hi:
 * My site page is [http://www.christian-dating-service-plus.com/blog](http://www.christian-dating-service-plus.com/blog)
 * I have one error: Error Line 133 column 4: end tag for “ul” which is not finished.
 * Most likely, You nested tags and closed them in the wrong order. For example _…_
   is not acceptable, as _ must be closed before . Acceptable nesting is: __…_
 * Another possibility is that you used an element which requires a child element
   that you did not include. Hence the parent element is “not finished”, not complete.
   For instance, <head> generally requires a <title>, lists (ul, ol, dl) require
   list items (li, or dt, dd), and so on.
 * I cannot figure it out…Any ideas. Thanks so much
 * David

Viewing 1 replies (of 1 total)

 *  [dwmingos](https://wordpress.org/support/users/dwmingos/)
 * (@dwmingos)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/cannot-validate-post-page/#post-358989)
 * The problem seems to be just before your Archives section in your sidebar. In
   the HTML that WordPress finally sends to client browsers, you’ve got:
 * `<ul>`
 * </ul>
 * with no list items. This is probably because you’ve got a UL for Pages but you
   don’t actually have any Pages so it’s putting out an empty list. You can either
   remove that code (if you’re sure you won’t have any Pages in the future) or first
   check to see if there are any Pages and then write out the UL only if there are.
 * There are several ways to do this but a quick ‘n dirty way is to do the following;
 * `
    <?php $pageitems = wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>'&echo
   =false ); if (strlen($pageitems) {    echo "<ul>{$pageitems}</ul>"; } ?>

Viewing 1 replies (of 1 total)

The topic ‘Cannot Validate Post Page’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [dwmingos](https://wordpress.org/support/users/dwmingos/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/cannot-validate-post-page/#post-358989)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
