I cloned the Magento2 directory, created a new theme in app/design/frontend, which was properly listed in the frontend admin panel. Then I renamed the theme ("mv Mytheme mytheme", etc), but it wasn't reflected in the frontend admin panel, so I removed the folder, but it's still in the admin panel. I tried the command lines "magento cache:clear" and "magento cache:flush", but it's still here.
How should I fix this issue ?
I fixed my issue by doing the following steps :
As explained below :
However, is there any more friendly way to fix such issue ?