Error When Trying to Open Lightbox

I just found a way to fix it, I was missing a bracket, but thank you anyway.