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

DivisionByZeroError #134

Open
killerwhale9 opened this issue May 8, 2023 · 3 comments
Open

DivisionByZeroError #134

killerwhale9 opened this issue May 8, 2023 · 3 comments

Comments

@killerwhale9
Copy link

Typo3 11.5
PHP 8.1

  • after installing the extension (3.0.1)
  • adding the typoscript
  • adding the plugin to the page
  • by clicking the link 'Download current page as PDF' i get the Error:
**DivisionByZeroError**
Division by zero
in /var/www/html/vendor/mpdf/mpdf/src/Image/Svg.php line 2103

any information that could help?

@derhansen
Copy link
Contributor

This seems to be a bug in mpdf. Maybe this (closed / not merged) mpdf/mpdf#1564 PR fixes the issue. Can you check?

@killerwhale9
Copy link
Author

Thank you, yes this fork fix the problem.

@derhansen derhansen reopened this May 9, 2023
@derhansen
Copy link
Contributor

I'll re-open this issue as a reminder for me, so we can try to get the issue fixed in MPDF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants