ConnectThink / WP-SCSS

Wordpress Plugin that compiles sass using scssphp
http://wordpress.org/plugins/wp-scss/
249 stars 76 forks source link

Source Map Issue #227

Closed gcwebsites closed 1 year ago

gcwebsites commented 2 years ago

PHP v 8.0 Wordpress 5.8.3 WP-SCSS v 2.4.0

Error is: Fatal error: Uncaught Error: ScssPhp\ScssPhp\SourceMap\SourceMapGenerator::normalizeFilename(): Argument #1 ($filename) must be of type string, null given, called in /home/gallb/public_html/wp-content/plugins/wp-scss/scssphp/src/SourceMap/SourceMapGenerator.php on line 165 in /home/gallb/public_html/wp-content/plugins/wp-scss/scssphp/src/SourceMap/SourceMapGenerator.php on line 303

gcwebsites commented 2 years ago

This happened when I changed from "compressed" to "expanded" on the settings.

gcwebsites commented 2 years ago

PHP 7.4 made no difference.

shadoath commented 2 years ago

@gcwebsites do you want to try the #233 which is an update to scssPHP v1.10?

shadoath commented 1 year ago

@gcwebsites can you try version 4.0.2?