Title: Collapsable Years Error
Last modified: August 30, 2016

---

# Collapsable Years Error

 *  Resolved [ignitemedia](https://wordpress.org/support/users/ignitemedia/)
 * (@ignitemedia)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/collapsable-years-error/)
 * Receiving the following console error:
 * `TypeError: this.parentNode.nextSibling.style is undefined`
 * [https://wordpress.org/plugins/simple-yearly-archive/](https://wordpress.org/plugins/simple-yearly-archive/)

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

 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724504)
 * Hi ignitemedia,
 * sorry for the very late reply! Can you please provide a link to the page with
   the error? I tested it on [http://www.schloebe.de/archiv/](http://www.schloebe.de/archiv/)
   and it worked fine for me.
 * Thank you!
 *  [wpgoat](https://wordpress.org/support/users/wpgoat/)
 * (@wpgoat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724538)
 * Hi Oliver,
    Thanks for this cool free plugin!
 * I am experiencing the same error. I am using the newest wordpress version with
   travelify theme. I tried it with Firefox and Edge. The years do not expand on
   both browsers. You may have a look [here](http://www.bauernjaeger.de/wp_bj/?page_id=400).
 * Thanks!
 *  [wpgoat](https://wordpress.org/support/users/wpgoat/)
 * (@wpgoat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724541)
 * Because my site went live in the meantime, I needed to change the setting to “
   not folded”, so that the archive can be seen by visitors. If you would like to
   see the error again, please reply and I will change it back for testing.
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724543)
 * Hi wpgoat, sorry, war über’s WE nicht online. 🙂
 * Back to English: May you please change it back so I can check? Thank you!
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724544)
 * Ok, might have an idea what’s the issue here. Do you happen to leave the options“
   Before / After (Year headline)” empty so you don’t wrap the year numbers in HTML
   tags?
 *  [wpgoat](https://wordpress.org/support/users/wpgoat/)
 * (@wpgoat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724545)
 * Hi wpseek,
    Kein Problem. Danke für die Antwort 😉
 * I changed the option back to “folded” so you can see the error again.
    Yes, I
   entered a “break” into the field “after yearnumbers” so the years show up vertically.
   Otherwise all years are shown in one line, which I dislike.
 * I tried to delete the “break” and saved the options, but this does not change
   the behavior 🙁
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724546)
 * Actually the problem would be solved if you would put `<div>` and `</div>` (or
   any other heading element like `<h3>`) in the “Before / After (Year headline)”
   options. The reason why the years are being shown in one line is that without
   wrapping the links in a block element, the year links are inline elements.
 *  [wpgoat](https://wordpress.org/support/users/wpgoat/)
 * (@wpgoat)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724547)
 * Yeah!! Indeed, it’s working now: I wrapped the year headlines with <h5> / </h5
   >. Wonderful 🙂
    Thank you very much for your support!!
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724548)
 * Woohoo! 🙂

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

The topic ‘Collapsable Years Error’ is closed to new replies.

 * ![](https://ps.w.org/simple-yearly-archive/assets/icon-256x256.png?rev=1162212)
 * [Simple Yearly Archive](https://wordpress.org/plugins/simple-yearly-archive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-yearly-archive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-yearly-archive/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-yearly-archive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-yearly-archive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-yearly-archive/reviews/)

## Tags

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

 * 9 replies
 * 3 participants
 * Last reply from: [wpseek](https://wordpress.org/support/users/alphawolf/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/collapsable-years-error/#post-6724548)
 * Status: resolved