Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Remove unnecessary error on clear-caches/all #7286

Closed
lindseydiloreto opened this issue Dec 17, 2020 · 4 comments
Closed

[FR] Remove unnecessary error on clear-caches/all #7286

lindseydiloreto opened this issue Dec 17, 2020 · 4 comments
Labels
enhancement improvements to existing features

Comments

@lindseydiloreto
Copy link
Contributor

When running the clear-caches/all command in the console, it pretty much always results in this...

tmi@2x

Is it possible to omit that ugly red Error message which is actually telling me "don't worry, that's normal"? If that particular cache can never be cleared via console, why is the system even trying (and then complaining about it)?

That message sticks out like a sore thumb. It contributes nothing useful to the conversation. And yet it is guaranteed to appear, every single time.

Would it be possible to just skip that error message in this context?

@lindseydiloreto lindseydiloreto added the enhancement improvements to existing features label Dec 17, 2020
@lindseydiloreto lindseydiloreto changed the title TMI on clear-caches/all [FR] Remove unnecessary error on clear-caches/all Dec 17, 2020
@brandonkelly
Copy link
Member

It works if you’ve explicitly set the @webroot alias from config/general.php. Just updated the error message to clarify that.

@lindseydiloreto
Copy link
Contributor Author

Ah, I had no idea. Thanks for the heads up, I'll just make sure the @webroot is set! 👍

@brandonkelly
Copy link
Member

Craft 3.5.18 is out now with that improved warning message ✨

@lindseydiloreto
Copy link
Contributor Author

Excellent, thanks! 🍺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvements to existing features
Projects
None yet
Development

No branches or pull requests

2 participants