Originally Posted by MoNsTeReNeRgY22
Tried clearing the data and cache from the HTC gallery app but no luck.
Also tried some rescanning apps from the Play store, no luck.
However, clearing the data from Media storage, then force stopping and restarting the phone did the trick!
It did the trick for me as well. THANK you , I had the issue, that non media where shown in all my gallery apps and Whatsapp closed every time it tried to open it. Both errors are solved with this solution!!!
Btw it happend after I did a clean flash of lineage os on my Oneplus two.