Title: Doesn&#8217;t load &#8211; &#8220;Uncaught TypeError&#8221;
Last modified: November 8, 2016

---

# Doesn’t load – “Uncaught TypeError”

 *  [1Cr](https://wordpress.org/support/users/1cr/)
 * (@1cr)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/doesnt-load-uncaught-typeerror/)
 * Hi Stephen,
    The posterboard doesn’t load on our page ([http://thenurserytheatre.com/shows/past/](http://thenurserytheatre.com/shows/past/)),
   the shortcode is entered correctly but nothing happens. An error is reported 
   from event-board.min.js: Uncaught TypeError: Cannot read property ‘reversed’ 
   of undefined(…)
 * We recently migrated from IIS to an Apache server, but I’m not sure if it stopped
   working after this or already before – everything else on our site seems fine.
   For comparison, the Calendar and Widget Calendar both work without any problems.
 * Do you have any idea how this could be resolved?

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

 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/doesnt-load-uncaught-typeerror/#post-8410821)
 * This is odd – do you have any caching on the server?
 * Each posterboard gets an auto-generated ID to help identify it (to support multiple
   boards on one page) – this is used in two places: on the containing div and in
   a javascript variable which stores the board’s settings. In your case, the IDs
   are different in those two different places.
 * I cannot see how this should be possible.
 * One thing I have noticed though is that the IDs remain the same. Without caching,
   I’d expect a new ID to be generated on each page load. (That said even _with_
   caching I’d expect the two IDs to be the same).
 * You can see the ID being instantiated [here](https://github.com/stephenharris/Event-Organiser-Posterboard/blob/master/event-organiser-posterboard.php#L71)
   and it’s only used twice.
 * My ‘best guess’ is that your caching policy is caching different parts of the
   page differently (so the javascript variable is cached with one ID, and the HTML
   body of the page cached with another).
 *  Thread Starter [1Cr](https://wordpress.org/support/users/1cr/)
 * (@1cr)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/doesnt-load-uncaught-typeerror/#post-8411213)
 * Hi Stephen and thank you for the fast response,
 * I tried disabling all (caching) plugins, but it doesn’t seem to help.
    But I 
   noticed after turning off caching that new IDs _are_ generated each time for 
   both the div and the JS variable – and they’re identical in the first 8 digits
   but different in the last 5. I suppose this means there’s a few microseconds 
   of time difference between the generation of these IDs. Would this confirm that
   there is a caching problem somewhere, as you suspect?

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

The topic ‘Doesn’t load – “Uncaught TypeError”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-organiser-posterboard.svg)
 * [Event Organiser Posterboard](https://wordpress.org/plugins/event-organiser-posterboard/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-organiser-posterboard/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-organiser-posterboard/)
 * [Active Topics](https://wordpress.org/support/plugin/event-organiser-posterboard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-organiser-posterboard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-organiser-posterboard/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [1Cr](https://wordpress.org/support/users/1cr/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/doesnt-load-uncaught-typeerror/#post-8411213)
 * Status: not resolved