Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in production with FrameDecorator\Block and FrameReflower/Text.php #906

Open
dahliar opened this issue Aug 1, 2022 · 4 comments
Open
Labels

Comments

@dahliar
Copy link

dahliar commented Aug 1, 2022

Its working in my dev environment using PHP 8.1.6, but when i brought my project into production it give me an error such this.

Dompdf\FrameReflower\Text::layout_line(): Argument #1 ($block) must be of type Dompdf\FrameDecorator\Block, null given, called in /home/.../.../vendor/dompdf/dompdf/src/FrameReflower/Text.php on line 399

have been tried to composer update both in my dev and my pro, but still got that error.

anybody found problem like this?

@dahliar
Copy link
Author

dahliar commented Aug 9, 2022

Trying to resolve it by switch my server php version back to PHP7.4, without any changes in the code, it could print the pdf file.

so i think, its between t

  1. he php 8.1 installation in my server that missing a module or else, or
  2. there is a incompatibility with php 8.1

@jochemgruter
Copy link

I am having same issue since I switch to php 8.1

@JoseJuni
Copy link

JoseJuni commented Oct 10, 2022 via email

@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf.
If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added the stale label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants