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

Too few arguments to function PdfView::__construct(), #136

Open
georggood opened this issue Jan 13, 2024 · 0 comments
Open

Too few arguments to function PdfView::__construct(), #136

georggood opened this issue Jan 13, 2024 · 0 comments

Comments

@georggood
Copy link

Hello,
very good and useful extension. But there is a problem when creating an object:

$pdfView = GeneralUtility::makeInstance(PdfView::class);

If you do a standard installation of the extension (version 4.0.0), there are no problems.

If I use composser for this version I get a 503 error.

503
Oops, an error occurred!
Too few arguments to function Mittwald\Web2pdf\View\PdfView::__construct(), 0 passed in /var/www/html/..../typo3/vendor/typo3/cms-core/Classes/Utility/GeneralUtility.php on line 2986 and exactly 3 expected

My configuration:

web2pdf

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

1 participant