You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After renaming some theme files, I started to get this error on all pages:
Warning: filemtime() [function.filemtime]: stat failed for /path/to/myOldStylesheet.scss in /path/to/wp-sass.php on line 119
The stylesheet that the warning refers to has been deleted (or it's name has been changed), but its cached version is still present in the WP-SASS cache folder.
The warning refers to this line of code:
// parse if we need toif ( empty( $full_cache[ 'css' ] ) || filemtime( $sass_path ) > $full_cache[ 'updated' ] || $full_cache[ 'root' ] != dirname( __FILE__ ) ) {
The text was updated successfully, but these errors were encountered:
Ah cheers, I need to add a file exists check in. If you delete the
wp-sass-cache folder in wp-content/uploads it should recompile and go back
to normal.
Hey Robert,
I am trying to use this great tool on Wordpress Multi Site, and got similar warning (although rather on line 127) on subsites that have Domain Mapping applied. For sites that have domain mapping, wp-sass creates wp-sass-cache and empty css document inside. Whereas, for subsites that have no domain mapping applied, it generates css document with css rules inside.
The warning refers to this line of code:
$full_cache[ 'updated' ] = filemtime( $sass_path );
After renaming some theme files, I started to get this error on all pages:
Warning: filemtime() [function.filemtime]: stat failed for /path/to/myOldStylesheet.scss in /path/to/wp-sass.php on line 119
The stylesheet that the warning refers to has been deleted (or it's name has been changed), but its cached version is still present in the WP-SASS cache folder.
The warning refers to this line of code:
The text was updated successfully, but these errors were encountered: