New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCSS compile error after upgrading to 5.5.17 #3219
Comments
For testing purpose, I tried to comment out every @import line in helium.scss, now even this line in my custom.scss file trigger an error: I've also tried both PHP7.4 and PHP8.1, the problem persists. I have set error reporting to maximum, there is no related error log, these are the last lines I can found:
|
Hi just replace |
There are hundreds of files and most of them are using this function. Besides this function, there could be other errors. |
hundreds of scss files in template custom directory ? it is a joke or something is crazy here |
@newjie I have upgraded a very old custom site using Helium to Gantry v5.5.17 with absolutely no problems. It is also now running Joomla v4.4.1 and PHP v8.1. If that doesn't work, you should rename your |
There was a SCSS compiler version bump in that release. All templates are now updated, Helium as well. Maybe you were using old template? |
My 3.10 site has been running well until I upgraded my Gantry from 5.4 to 5.5.17 today.
I've also upgraded my template Helium to 5.5.17.
The error message is like
An exception has been thrown during the rendering of a template ("ERROR: CSS Compilation on file 'helium.scss' failed on error: $amount: Expected 40% to be within 0 and 1.: templates/g5_helium/custom/scss/helium/styles/_helium-style.scss on line 28, at column 33 Call Stack: #0 import templates/g5_helium/custom/scss/helium/styles/_helium-style.scss templates/g5_helium/custom/scss/helium.scss on line 29 #1 import templates/g5_helium/custom/scss/helium.scss (unknown file) on line 2").
The line is
color: fadeout($white, 40%);
I've checked this file under 5.4 in another website of mine that hasn't been upgraded, the line is the same. So did Gantry 5.5.17 introduce new sass engine so it triggers the error? If yes, how come this hasn't been fixed in the past two months?
The text was updated successfully, but these errors were encountered: