Problem with editing in Anki desktop

Help please? everytime I click on a particular deck, I get the following message - not sure how to fix it and it would give a popup and not be able to edit anything in anki

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.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.14.5
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2024-02-04 13:36:20

Caught exception:
Traceback (most recent call last):
File “aqt/”, line 411, in paint
File “aqt/”, line 91, in qcolor
File “aqt/”, line 86, in str_color
Exception: (‘no such color:’, ‘flag5-bg’)

This is a very outdated software version, please consider updating.


Figured out it was due to syncing between different versions from phone to computer and using a flag that only exists in the newer version. thanks for your help, removing the flags fixed the problem