Why the front of each card is blank

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-12.5.1-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-07-16 20:47:42

Traceback (most recent call last):

  File "aqt.webview", line 43, in cmd

  File "aqt.webview", line 150, in _onCmd

  File "aqt.webview", line 620, in _onBridgeCmd

  File "aqt.editor", line 469, in onBridgeCmd

  File "/Users/ouridaaliouane/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 61, in _on_suggestion_button_press
    _on_suggestion_button_press_inner(editor)

  File "/Users/ouridaaliouane/Library/Application Support/Anki2/addons21/1322529746/gui/editor.py", line 113, in _on_suggestion_button_press_inner
    open_suggestion_dialog_for_note(editor.note, parent=editor.widget)

  File "/Users/ouridaaliouane/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py", line 87, in open_suggestion_dialog_for_note
    added_new_media=_added_new_media(note),

  File "/Users/ouridaaliouane/Library/Application Support/Anki2/addons21/1322529746/gui/suggestion_dialog.py", line 158, in _added_new_media
    note_info_ah = ankihub_db.note_data(note.id)

  File "/Users/ouridaaliouane/Library/Application Support/Anki2/addons21/1322529746/db/db.py", line 312, in note_data
    fields=[

  File "/Users/ouridaaliouane/Library/Application Support/Anki2/addons21/1322529746/db/db.py", line 314, in <listcomp>
    name=field_names[i],

IndexError: list index out of range

Sentry link (for developers)

Did you protect your text field?

How can do it

Go to this page

Click on the 3 dots on the top right

Ensure there is NO check mark next to the text field. Then reset all local changes to the deck by clicking on browse, then at the top click on ankihub, then reset all changes