PDF-generation fails with PhantomJSCloud-error

Anybody else having problems with generating PDFs?


[2016-02-24 20:19:09] production.ERROR: PhantomJSCloud - failed to create pdf:
502 Server Error
Error: Server Error
The server encountered a temporary error and could not complete your request.Please try again in 30 seconds.

We were seeing the same problem, this should be fixed in the latest release (v2.5.0.3).

If you don’t want to update you can fix it by copying over the getPDFString function from the end of the file.

https://github.com/invoiceninja/invoiceninja/blob/master/app/Models/Invoice.php

Hello Hillel
Will try to copy over the function. Thx!
Regards
Roman

Hello Hillel
The new function is confirmed working.
Regards
Roman

Great, thanks for letting us know!