You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated spatie/laravel-pdf and its dependencies (spatie/browsershot) to the latest version to work with Puppeteer v23, but I only get a white page as the PDF output. When I downgrade spatie/browsershot to 4.1.3 it works again.
How to reproduce the bug
When I create a PDF with the latest version of both spatie/laravel-pdf and spatie/browsershot, I get a blank PDF with no content. When i manually downgrade spatie/browsershot in my package.lock to 4.1.3, it works again.
Package Version
1.5
PHP Version
8.3.10
Laravel Version
11.20.0
Which operating systems does with happen with?
macOS
Notes
Today was a release of spatie/browsershot, so I highly suspect this produced a unintended bug in this package.
The text was updated successfully, but these errors were encountered:
Was running into the same issue and resolved it by updating Browsershot to 4.2.1. Thanks to @freekmurze for that. Disappointingly, after updating the CSS is very screwed up on my previously beautiful PDF. If anyone has run into that and fixed it, please let me know.
I did actually experience this a few times when testing the compatibility patch for Puppeteer 23, but thought nothing of it as tests were passing, and just assumed it was my particular environment being weird. I'll try taking a look at it tomorrow, and see if I can remedy it.
What happened?
I updated spatie/laravel-pdf and its dependencies (spatie/browsershot) to the latest version to work with Puppeteer v23, but I only get a white page as the PDF output. When I downgrade spatie/browsershot to 4.1.3 it works again.
How to reproduce the bug
When I create a PDF with the latest version of both spatie/laravel-pdf and spatie/browsershot, I get a blank PDF with no content. When i manually downgrade spatie/browsershot in my package.lock to 4.1.3, it works again.
Package Version
1.5
PHP Version
8.3.10
Laravel Version
11.20.0
Which operating systems does with happen with?
macOS
Notes
Today was a release of spatie/browsershot, so I highly suspect this produced a unintended bug in this package.
The text was updated successfully, but these errors were encountered: