Level 18
How are you referencing the path to the logo? If the cron is running it from a different location and the image is defined via relative, it won't work.
Try defining the logo path as absolute and try again.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
When i'm running the PDF generator script manually the logo(image) is showing on the PDF generated page but when i'm running the PDF generator script using Cron Job then the image is not showing on the page showing the instead that says image not found or type unknown
Please or to participate in this conversation.