Invoice PDF attachments fail to send

I have been researching this issue for a few days now without any luck. In summary, PDF attachments fail to attach in sent invoices. I am running a clean install of self-hosted Invoice Ninja and running local phantomjs on a Debian Stretch VM. I downloaded phantomjs via wget, extracted, copied to /usr/bin/phantomjs and chmod 775.

The “Test” link in Email Settings loads for a while then fails with: Failed to load PDF document.

I have tried troubleshooting steps here:

Here is the output of “phantomjs test.pjs” (just where the error occurs):

Here is my laravel-error.log:

Here is my .env config:

OS: Debian Stretch 9.9.0 (ESXi virtual machine)
Invoice Ninja: 4.5.12
PhantomJS: 2.1.1

Any suggestions are appreciated.

Here are two other posts worth reviewing:

Thanks for the suggestions. The error from the first link is different from what what I’m seeing in laravel-error. I have:

[2019-05-16 23:55:17] production.ERROR: TypeError: Attempting to change value of a readonly property. {“context”:“JavaScript”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:“Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1”,“locale”:“en”,“ip”:“”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“log_error”} []

I am not using HTTPS so the suggestions in the second link were of no luck.