To open the PDF file in a lightbox popup, the PDF file MUST be hosted on the SAME DOMAIN as your WordPress website. Please also make sure there are no special characters in the PDF URL, for example, apostrophes, double quotes, accented letters etc.