What’s wrong with this sentence?
“No matter how hard he tried, however, he could not master the material.”
The quoted sentence has a redundancy. Since no matter how means however, however is a redundancy. To correct the sentence, remove however.
No matter how hard he tried, he could not master the material.