Incompatibility with Autoload of SCSS Parser

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Incompatibility with Autoload of SCSS Parser

Post by stiller » 07 Mar 2018, 12:50

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

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Incompatibility with Autoload of SCSS Parser

Post by aimeos » 08 Mar 2018, 18:02

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Re: Incompatibility with Autoload of SCSS Parser

Post by stiller » 08 Mar 2018, 23:13

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?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Incompatibility with Autoload of SCSS Parser

Post by aimeos » 09 Mar 2018, 10:03

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Re: Incompatibility with Autoload of SCSS Parser

Post by stiller » 09 Mar 2018, 11:54

18.1.2-pre1 works flawlessly for me.
thank you ever so much for your quick and straightforward support
cheers

Post Reply