I had this error if new tables were missing in TYPO3 v11. They should be created by deployment script, but somehow they weren't.
I ran 'Analyze database' in Maintenance by hand, add new tables and error is gone.