I'm including this plugin using composer. With composer, files get included inside a function, which makes the definition of $wpscss_compiler not happen in the global scope:
https://github.com/ConnectThink/WP-SCSS/blob/master/wp-scss.php#L157
This means it is null when it's used later with the global keyword, such as in wp_scss_needs_compiling(), which results in a fatal error:
Fatal error: Uncaught Error: Call to a member function needs_compiling() on null
I'm including this plugin using composer. With composer, files get included inside a function, which makes the definition of
$wpscss_compilernot happen in the global scope:https://github.com/ConnectThink/WP-SCSS/blob/master/wp-scss.php#L157
This means it is null when it's used later with the global keyword, such as in
wp_scss_needs_compiling(), which results in a fatal error:Fatal error: Uncaught Error: Call to a member function needs_compiling() on null