There are a handful of errors in logstash relating to this error. This happens because ImageCarousel uses Router::getPath which can return an empty string if the hash fragment has cleared.
There's no need to display an error message if the hash fragment has cleared - the overlay has been closed.