Your comments

That solved it yes....

Thank you so much for that Vlad R!

It turns out it was a database issue. Solved this by updating to Mariadb 10.4 and running mysql_upgrade.