Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Will Woodward

    (@willjw)

    Ok, so I found this error:

    Notice: Use of undefined constant LOGGED_IN_COOKIE - assumed 'LOGGED_IN_COOKIE' in /var/www/wp-content/plugins/wp-scss/wp-scss.php on line 212

    The plugin should check if LOGGED_IN_COOKIE is defined first, I presume.

    Thread Starter Will Woodward

    (@willjw)

    I’ve patched that, but still not getting regenerated CSS.

    Thread Starter Will Woodward

    (@willjw)

    I’ve found the problem. It doesn’t think the SCSS files have been updated since the CSS was last generated, but this is incorrect.

    The last SCSS file was modified: 2015-08-10 14:10:10
    The CSS file was modified: 2015-08-09 22:25:45

    Do you have any idea why this might be?

    Hi Will,

    Did you ever figure out a way around this? We’ve been having the same problem for a few months on many sites but nothing we do seems to actually regenerate the CSS.

    Thread Starter Will Woodward

    (@willjw)

    Hi Matt,

    No, I didn’t. In the end I scrapped using this plugin. I now use CodeKit on my development machine to generate the CSS locally, before deployment.

    I’m sure it isn’t the most correct way (it should be done as part of the deployment process itself) but it works for me!

    I’m also seeing this issue with WordPress v4.4.2.

    SASS can be compiled (and polled for changes) with Compass by simply dropping a config.rb file (can provide example if needed) in the theme and running:

    gem update --system
    gem install compass
    compass watch

    Raul Illana

    (@raulillana)

    I did a dirty PHP patch to make it to work with no hassle. ??

    https://github.com/raulillana/WP-SCSS/commit/8ae60ced8450ab6bfc7f9ade5f6bc5c9c4634930

    Greetings.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CSS not being regenerated’ is closed to new replies.