500 Phantom_JS issue persists

Hi Guys,

Suddenly getting phantomJS issues again generating a 500 error:

[2022-11-05 11:22:32] production.ERROR: There was an error generating the PDF with Phantom JS {“exception”:"[object] (App\Exceptions\PhantomPDFFailure(code: 0): There was an error generating the PDF with Phantom JS at /home/spacedotnet/public_html/nja/app/Utils/PhantomJS/Phantom.php:157)

Have read the earlier posts and have fully updated Ninja to the latest version and adjusted the .env file to try to set it to hosted_ninja including commenting out the phantom key lines, but it still seems to be stuck on Phantom even after logging back out and in etc. Have removed details for security


#options - snappdf / phantom / hosted_ninja


How do I resolve this issue or check what the PDF generator is?
Will the old invoices get recreated by hosted_ninja cause right now it just want show anything without a 500



If may help to run php artisan optimize or load /update?secret= in the browser.

Note: you can check which PDF renderer is being used using the health check option in the about dialog.

Thanks so much Hillel, seems to have sorted it and I won’t miss all the issues with PhantomJS.
I’m still trying to get Cron to work, so perhaps best if I post on that in a new ticket when I have looked more deeply into it.