Thanks for the response Leo.
I activated twenty and the issue is still there. So, it’s not the theme.
Here are other things I have tired. Issue persists. It’s on a vps server.
– disabled all plugins
– php version (v7.3.20)
– set uploads folder permission to 755
– I tried upgrading a different website I have generate press on and it was fine.
It’s like having problems accessing the media when I click on “Open Media Library” on a page or post. Basically, adding a new image.