• After updating WP to 5.8.2 and the plugin to the latest version, it crashed my site with the error message below. I’m running PHP 7.4. I removed and reinstalled it but still get the same compiling error. As I’m non technical, I don’t know what to do. Just passing it on in the hope that a new version will solve the problem…

    Thanks

    Fatal error: Uncaught InvalidArgumentException: Invalid output style "scss_formatter". in /home/wwstrategies/www/www/wp-content/plugins/wp-scss/scssphp/src/Compiler.php:5444 Stack trace: #0 /home/wwstrategies/www/www/wp-content/plugins/wp-scss/class/class-wp-scss.php(29): ScssPhp\ScssPhp\Compiler->setOutputStyle('scss_formatter') #1 /home/wwstrategies/www/www/wp-content/plugins/wp-scss/wp-scss.php(221): Wp_Scss->__construct('/home/wwstrateg...', '/home/wwstrateg...', 'scss_formatter', 'SOURCE_MAP_NONE') #2 /home/wwstrategies/www/www/wp-settings.php(409): include_once('/home/wwstrateg...') #3 /home/wwstrategies/www/www/wp-config.php(100): require_once('/home/wwstrateg...') #4 /home/wwstrategies/www/www/wp-load.php(50): require_once('/home/wwstrateg...') #5 /home/wwstrategies/www/www/wp-admin/admin.php(34): require_once('/home/wwstrateg...') #6 /home/wwstrategies/www/www/wp-admin/index.php(10): require_once('/home/wwstrateg...') #7 {main} thrown in /home/wwstrategies/www/www/wp-content/plugins/wp-scss/scssphp/src/Compiler.php on line 5444
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    (no message was received)

Viewing 1 replies (of 1 total)
  • Line 5444 throws an exception, this means that there is invalid scss somewhere in your styles. I have the same issue on a site (multi-site enabled) and it only crashes on my sub-sites. I have changed line 5444 to break; and commented out the thrown exception.

    To the WP-SCSS Team: Can you please adjust the compiler to log an error and throw a site-crashing fatal exception? This would be much more helpful.

Viewing 1 replies (of 1 total)
  • The topic ‘WP-SCSS update crashes my site’ is closed to new replies.