mittwald / typo3-web2pdf

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

Could not analyse class: "Mpdf\Mpdf" #104

Closed cosmox closed 4 years ago

cosmox commented 5 years ago

Hi there, after the update from 1.2.2 to version 1.2.3 i got this error now:

Could not analyse class: "Mpdf\Mpdf" maybe not loaded or no autoloader? Class Mpdf\Mpdf does not exist

Error still exists after deleting all Caches (FE/BE/OPCODE/AUTOLOAD) Used TYPO3 Version: Typo3 8.7.24

Any hints?

Aero91 commented 5 years ago

Same issue

webdev2027 commented 5 years ago

Jep. Same here. No composer install, TYPO3 8.7.24 with PHP 7.2. Extension worked with 1.2.2 perfectly.

typo3-solution commented 5 years ago

Install https://extensions.typo3.org/extension/mpdf/

cosmox commented 5 years ago

@typo3-solution thanks but maybe this is a workaround not realy a solution, because mpdf is a systemwide php lib, i have to install it once for all vHosts, this works with web2pdf v. 1.2.2 and earlier. Now i have to install mpdf inside every TYPO3 Instanz (if i want to use the current version). So if mpdf have a security bug...... it is not a simple update by the OS Packagemanager anymore :( And if mpdf is a requirement of web2pdf .. it schould be resolved by the Extension manager or composer.

my2cent

pstranghoener commented 4 years ago

We fixed in v1.2.4 and v2.0.0