[5.x] Throw an error when running static:clear
when static caching is disabled
#3961
Loading
static:clear
when static caching is disabled
#3961