I had a similar issue on upgrading to 2.3, which deprecates some of the output formats:
“Uncaught Error: Class ‘ScssPhp\\ScssPhp\\Formatter\\Crunched’ not found”
I fixed this with the following workflow:
– Activate a theme that doesn’t have your chosen “/scss/” directory
– Activate WP-SCSS plugin, which should throw a warning that directory is not found
– Navigate to WP-SCSS settings and re-save your setting with the new options
– Reactivate your custom theme
Hope that helps!
@kubiq Do you still get this error? What version of PHP are you running and what version of WP-SCSS?
Thread Starter
kubiq
(@kubiq)
Hello,
so I’ve tried it again
PHP 7.4.20
I download newest Bootstrap 5.1.0 and try to compile its SCSS
It almost worked
Sass Compiling Error
"$color1: null is not a color.: bootstrap-5.1.0/scss/mixins/_table-variants.scss on line 5, at column 5
Call Stack:
#0 mixin table-variant bootstrap-5.1.0/scss/_tables.scss on line 134
And I can see another problem
Settings are not saved, like:
Enqueue Stylesheets
Always Recompile
Error Display
Or maybe they are saved in database, but after Settings page reloads it looks like they are not saved
-
This reply was modified 4 years, 6 months ago by
kubiq.