-
Notifications
You must be signed in to change notification settings - Fork 19
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
Could not analyse class: "mPDF" maybe not loaded or no autoloader? #41
Comments
It seems that something went wrong with your autoloader. Another project had the same issue and we found out that the autoloader was not initialized the correct way. May you try to run |
Hi, I didn't install it via the composer, installed it via TER. Shouldn't that I already tried and to reinstall it as well as clearing all content of Mvh
|
And the source I did not use composer either. Mvh
|
Same problem here :( Typo3 7.6.2, no composer used |
#41 Use ext_conf.php to autoload vendors in TYPO3 7.6
Thanks! |
Fixed in v1.1.4, should be in TER shortly. |
Uploaded to TER |
With v1.1.4 and the changes in composer.json i get an depency error in TYPO3 6.2 when installing the extension over backend extension manager. Oops, an error occurred! I never used composer for installing extensions or TYPO3 itself so i don't know why TYPO3 looks into this file at all. Are there any depencies which the server has to fulfill? Wiki (https://wiki.typo3.org/Composer) says "However even since TYPO3 6.2.10 it is possible to have classes of all composer packages available if the TYPO3_COMPOSER_AUTOLOAD environment variable is set in your web server" but this variable is definitely not set. |
same issue as mediatack:
|
Same issue here but when downloaded using composer ("typo3-ter/web2pdf": "1.1.4" in require) and TYPO3 6.2.17. I was able to get everything to work by just enabling the extension in the PackageStates file manually -- so the autoloading seems to work at least. Seems this more of a meta data / composer / EM issue. Perhaps this is somewhat helpful: https://gist.github.com/cedricziel/08ea469db5197e24552c |
With 1.1.4 in TYPO3 6.2 i try to install the extension and get the Error The package "web2pdf" depends on "mpdf/mpdf" which is not present in the system. |
Workaround in TYPO3 6.2.21: When i remove the composer.json + composer.lock it's possible to install the extension and it works as expected in a non-composer installation |
Still having a problem with TYPO3 7.6.11 and web2pdf 1.1.4: Maybe a PHP 7 and mPDF 6.0 issue? (We are using PHP 7.0.9) |
This is what helped me in TYPO3 8.7 Installed the extension "mpdf" and tried it again ;) |
Typo3 version 7.6.2
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1289386765: Could not analyse class: "mPDF" maybe not loaded or no autoloader? | TYPO3\CMS\Extbase\Object\Container\Exception\UnknownObjectException thrown in file /var/www/haugemedia.net/public_html/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php in line 37. Requested URL: http://brianhauge.dk/?tx_web2pdf_pi1%5Bargument%5D=printPage&cHash=5ac8167ac70f23efe4112e4ba3970b02
More info possibly available on: https://wiki.typo3.org/Exception/CMS/1289386765
The text was updated successfully, but these errors were encountered: