I had an awkward problem when i want to delete my theme, it gaves me this message: deletion failed, the theme requested does not exist wordpress.
I can delete it from ftp manually but for client i want it to be deleted just from dashboard. Is any one have an idea how to resolve this error.

P.S. the theme works fine without any error.
I found what cause this problem, the theme folder shouldn’t have any space if you had two words or more on it for example if your theme’s name is : twenty sixteen it should be written without space in one word twentysixteen.
So all i had to do is make my theme’s name in one word and my theme was deleted normally from the dashboard.
I hope it will help someone else.