Title: Invalid code?
Last modified: December 8, 2023

---

# Invalid code?

 *  Resolved [Jaiji](https://wordpress.org/support/users/jaiji/)
 * (@jaiji)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/)
 * Hi TipTopPress
   Thanks for this plugin, it’s exactly what I’m needing. However,
   I notice here that when I choose to display a list of years only, which is what
   I need, it outputs an unordered list which only contains links, the links are
   not each contained in a list item i.e.
 * `<ul><a><a><a></ul>`
   whereas in my understanding anything within a list needs
   to be wrapped in a list item i.e. `<ul><li><a></li><li><a></li></ul>`
 * (The site I’m using it on is a local dev site at the moment so I can’t share 
   a URL.)
 * Is there any chance you could update the plugin soon to address that?

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

 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/#post-17263857)
 * Thanks. It was a bug. We release a new version.
 *  Thread Starter [Jaiji](https://wordpress.org/support/users/jaiji/)
 * (@jaiji)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/#post-17264699)
 * Glad to hear that, thanks for the prompt response. 
   While I’m here, if I choose
   to display in a dropdown I’m getting multiple instances of 2 ‘undefined array
   key 2’ warnings in category-archives-block.php, lines 148 and 164. I’m not sure
   whether the update would address that too?
 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/#post-17264849)
 * Ok, there is an issue. But we are in vacation and back in same days. 😉
    -  This reply was modified 2 years, 5 months ago by [Daniel Floeter](https://wordpress.org/support/users/kometschuh/).
 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/#post-17265002)
 * We release a new version. It was a bug. Thanks.
 * If you want you can give the community Block a 5-stare rating.
 *  Thread Starter [Jaiji](https://wordpress.org/support/users/jaiji/)
 * (@jaiji)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/#post-17265067)
 * I appreciate the fast response, thank you. Will do.

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

The topic ‘Invalid code?’ is closed to new replies.

 * ![](https://ps.w.org/category-archives-block/assets/icon-256x256.png?rev=2490091)
 * [Category Archives Block](https://wordpress.org/plugins/category-archives-block/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-archives-block/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-archives-block/)
 * [Active Topics](https://wordpress.org/support/plugin/category-archives-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-archives-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-archives-block/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Jaiji](https://wordpress.org/support/users/jaiji/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/invalid-code-8/#post-17265067)
 * Status: resolved