Page 1 of 1

Incompatibility with Autoload of SCSS Parser

Posted: 07 Mar 2018, 12:50
by stiller
hi there
I'm running a site with TYPO3 8.7, t3sbootstrap, dyncss and dyncss_scss (all latest versions)
after installation of aimeos 18.1.1 the parser fails to load

Class 'Leafo\ScssPhp\Compiler' not found
Error thrown in dyncss_scss/Classes/Parser/ScssParser.php in line 17

obviously the installation of aimeos breaks the autoload routine.
anything I can do about it?

your help would be much appreciated

Re: Incompatibility with Autoload of SCSS Parser

Posted: 08 Mar 2018, 18:02
by aimeos
There's a composer autoloader included here:
https://github.com/aimeos/aimeos-typo3/ ... se.php#L14

If you install TYPO3 and Aimeos in composer mode, then it's not the case and you probably won't have that error.

Re: Incompatibility with Autoload of SCSS Parser

Posted: 08 Mar 2018, 23:13
by stiller
thanks, but isn't there another workaround?
dyncss is quite a common extension and aimeos shouldn't interfere whith its loading calls.
I'm experiencing difficulties to install composer on my VM and don't feel very literate with this method either.
any suggestions?

Re: Incompatibility with Autoload of SCSS Parser

Posted: 09 Mar 2018, 10:03
by aimeos
Can you try this pre-release: https://aimeos.org/fileadmin/download/a ... 2-pre1.zip
It removes the typo3/cms-composer-plugin which sets the TYPO3_COMPOSER_MODE constant that is interfering with the dyncss extension.

Re: Incompatibility with Autoload of SCSS Parser

Posted: 09 Mar 2018, 11:54
by stiller
18.1.2-pre1 works flawlessly for me.
thank you ever so much for your quick and straightforward support
cheers