How to use the unset command
If you are displaying multiple copies of the calendar on the same page, you may need to clear some variables if some of them don't display properly or show the expected events. Just inset the line of code below before the require command for each additional calendar:
unset($displayedEvents,$showDateS,$EPCBLOG);