Issue
I was working on 10.4.1 with the Coveo upgrade and ran into this issue. Initially, I thought it was related to the Coveo issue, and the logs supported that.
Diagnosis
Looking at the Sitecore logs and the error on the page, it's clearly pointed out