This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Website is crashed when making PDF

duc88b wrote on 2017-05-09:
Hi, I have been using your service for over one year, it's great and helpful. But now I have an issue and need your help to fix it.

When I use your service to make a PDF, it's ok but if I make 2 PDF files at a time, my site is down, here is what I saw in the log file:

Cannot declare class PdfcrowdException, because the name is already in use in /dir../pdfcrowd.php on line 43
support wrote on 2017-05-12:
Hello,

It seems that your API implementation includes pdfcrowd.php multiple times. You need to ensure that it is included only once.