• Hi folks,

    I was browsing ConnectThink’s Github and discovered the following post from July 4, 2025 by dawidt147 for how to fix the compiling issue introduced in version 4.0.4:
    https://github.com/ConnectThink/WP-SCSS/issues/266.

    Steps for fixing:

    1) Open the file located here: /class/class.wp-scss.php

    2) On line 37 add the following:

    // New code
    if (substr($cache_dir, -1) !== '/') {
    $cache_dir .= '/';
    }
    // end


    Edits to your SCSS will now work again! 🙂

    Cheers,
    Scott

Viewing 1 replies (of 1 total)
  • Thread Starter swerley

    (@swerley)

    Sorry folks. After testing and running into unexpected issues, it turns out this isn’t a reliable fix after all. 🙁

    When added, the child theme breaks under Appearance > Themes. It’s really problematic.

    I recommend reverting to 4.0.2 for the time being, until this issue can be properly addressed by the devs.

Viewing 1 replies (of 1 total)

The topic ‘Version 4.0.4 Compiling Fix’ is closed to new replies.