I am getting a weird error on prod server but everything is fine in development server

System Information
  • Strapi Version: 4.4.3
  • Operating System: MACOS /deploying on railway.app
  • Database: Postgres
  • Node Version: 16
  • NPM Version: 6

Everything works fine when I start a development server, but when I start a production server and go to the admin panel, I get this weird error. I am not sure since when it started, I had not checked the backend for a long time.

I have not updated anything new, at least I don’t think so. Recently I mistakenly had set is_active for my admin account to false, so I went to postgres to fix it and fixed it to true. I don’t think I have done anything more than that. P.S nothing is broken in development.
I am not sure how to fix this please help me.