After trying out a few random things, it seems to be working now. I simply deleted the two default WordPress themes that came with the installation of WordPress and activated the ‘child’ theme instead of using the parent one. Now the website is loading as normal with published posts.
Leaving this here in case it helps anyone else!