Error when clicking on options item in a deck

I’m trying to open the options item of a deck and it shows the error below. I already tried what is in the error description, but it doesn’t solve it.

Ocorreu um erro. Por favor, vá para Ferramentas > Verificar Banco de Dados para ver se isso corrige o problema.
Se o problema persistir, por favor relate-o em nossa página de ajuda. Copie e cole a informação abaixo dentro de seu relatório.
Anki 2.1.15 (442df9d6) Python 3.10.6 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=2

Caught exception:
File “/usr/share/anki/aqt/”, line 213, in
a.triggered.connect(lambda b, did=did: self._options(did))
File “/usr/share/anki/aqt/”, line 242, in _options
File “/usr/share/anki/aqt/”, line 869, in onDeckConf
aqt.deckconf.DeckConf(self, deck)
File “/usr/share/anki/aqt/”, line 25, in init
File “/usr/share/anki/aqt/”, line 49, in setupConfs
File “/usr/share/anki/aqt/”, line 66, in loadConfs
File “/usr/share/anki/aqt/”, line 89, in onConfChange
File “/usr/share/anki/aqt/”, line 175, in loadConf
<class ‘TypeError’>: setValue(self, int): argument 1 has unexpected type ‘float’

This is a known issue with this very old version that can be resolved by updating to a more recent version from the website.