mittwald / typo3-web2pdf

A TYPO3 extension for rendering content as PDF
GNU General Public License v2.0
18 stars 20 forks source link

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

Open georggood opened 10 months ago

georggood commented 10 months ago

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