Hi,
PDF for invoice is not generated on server but it is generated on localhost
Please follow the guide about errors within your setup in the FAQ linked in the header.