You can try downgrading mariadb to 10.3 like others have suggested or upgrade frappe to the lastest stable on your branch, eg. 14.1 → 14.8
cd your-bench
cd apps/frappe
git pull
bench restart
# if you have unneeded changes
git add .
git stash
git pull