Civi Scss compliler is autoloaded, and its (old) verion conflict with more recent ones causing fatail errors
Hi there,
It seems there is a issue / conflict between CiviCRM Scss compiler and my wordpress theme (gantry 5) Scss compiler.
We've discussed it here where I've linked what put me on track to think is was due to Civi Scss compiler.
A workaround is to rename the folder civicrm/civicrm/vendor/scssphp
Let me know if you want more detail
Cheers
PHP 7.4 WP 5.8.2 Civi 5.40.2 Gantry 5.5.6 (theme I use that also bundle an scss compiler, but there are many others)