The file assets://css was not deleted because it does not exist.

Created on 13 July 2023, over 1 year ago
Updated 18 August 2023, over 1 year ago

Problem/Motivation

The following notices appear when clearing caches:

The file assets://css was not deleted because it does not exist.
The file assets://js was not deleted because it does not exist.

This is caused by the is_dir check being removed in πŸ“Œ Remove the aggregate stale file threshold and state entry Fixed , not sure about the reasoning behind that choice.

Steps to reproduce

  1. Delete the web/sites/default/files/css and web/sites/default/files/js folders
  2. Run drush cr

Proposed resolution

Check if the folders exist before trying to delete them.

πŸ› Bug report
Status

Closed: duplicate

Version

10.1 ✨

Component
Asset libraryΒ  β†’

Last updated 2 days ago

No maintainer
Created by

πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024