b13 / assetcollector

Add CSS / SVG / JS to Content templates, and load them only once
GNU General Public License v2.0
8 stars 0 forks source link

PHP Fatal error on 10LTS + PHP 7.4 #18

Open misterboe opened 1 year ago

misterboe commented 1 year ago

When i make a composer updaten on a 10TLS PHP7.4 install version 2.x is loaded via composer. This leads to

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function TYPO3\CMS\Core\Localization\LanguageServiceFactory::__construct(), 0 passed in /typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3492 and exactly 2 expected in typo3/sysext/core/Classes/Localization/LanguageServiceFactory.php:37

It seems like Version 2 needs PHP >= 8.0. There must be something wrong in the composer.json that i could load 2.x on 7.4

achimfritz commented 1 year ago

@misterboe cannot see that error, but found another here https://github.com/b13/assetcollector/pull/19 can you post complete Exception backtrace? how is your template looking? (i have testet <ac:css>h1 { color: red; }</ac:css>