Okay, I'm even more confused. This error doesn't come from WordPress, I've learned. It is a known bug in PHP. According to what I've been told, plugins that use PHP "sessions" activate this bug which causes a page not to validate. I've been told that WordPress is written as to NOT use PHP sessions.
Yet, when I do my little ole testing on Kubrick, this is what I have repeatedly learned.
* In its original form, it validates beautifully.
* If a plugin is added, and that plugin uses PHPsessions, then it will "bork" on the validation.
* If the plugins are removed, I am still getting a validation error and it isolates it to the wp_list_cats() tag.
* In my test, I have two wp_list_cats() tags because I originally thought it might be how I was listing the parameters in the tag that might be causing the problem. So I deleted my version of the wp_list_cats() tag, leaving the default tag, and the validation passes.
* So I replaced the default wp_list_cats() tag with my version, so it is the only one in the sidebar, and the validation error with PHP sessions is back.
This is my tag:
<li><a title="Thoughts on Life" href="index.php?cat=7">Journal Thoughts</a></li>
<?php wp_list_pages('exclude=497&depth=1&sort_column=menu_order&title_li='); ?>
* So I get rid of the link to my blog and leave wp_list_pages() since the errors are targeting the request for
index.php?cat=7 and BINGO, with the wp_list_pages tag, it validates.
* Leaving the wp_list_pages() tag in, I added back in the two plugins from the first borked validation WITHOUT the single link to the blog and ...it passes the validation!!!!!
My link reference uses
index.php?cat=7 and this is the criminal that is "calling" sessions. To get the link, I clicked on the category for my blog and copied the link address directly from the address bar. This link will change when I finally get to activating permalinks on this test site, but why wouldn't this work as it is?
Mystery semi-solved. HELP!