I keep getting errors. How can I fix them?

I turned on Anki today and I got an error, so I tried again, this time I did not get an error, but
practically every function of the app does not work.


An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-10-18 15:41:47

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 42, in cmd
File “aqt.webview”, line 149, in _onCmd
File “aqt.webview”, line 624, in _onBridgeCmd
File “aqt.toolbar”, line 168, in _linkHandler
File “aqt.toolbar”, line 186, in _browseLinkHandler
File “aqt.main”, line 1138, in onBrowse
File “aqt”, line 129, in open
File “aqt.browser.browser”, line 135, in init
File “aqt.browser.browser”, line 234, in setupMenus
AttributeError: ‘AnkiQt’ object has no attribute ‘flags’

Please try restarting your computer, then starting Anki while holding down the shift key. Does it work then?