I'm working with this light box plugin.

If you click next, or click the image as to advance the image when you are already viewing the last one an error is triggered. Is this a known bug?