Error with database

Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5

Platform: Windows 10

Flags: frz=True ao=False sv=2

Add-ons, last update check: 2023-01-18 18:55:36

Caught exception:

Traceback (most recent call last):

File “aqt.browser.sidebar.tree”, line 337, in mouseReleaseEvent

File “aqt.browser.sidebar.tree”, line 440, in _on_search

AttributeError: ‘NoneType’ object has no attribute ‘item_for_index’

If you can reproduce the issue with the latest Anki version, please let us know the steps you’re taking.