Hi Ketan,
I’ve looked into this further and it was just one category that was causing the error. I created a new one and moved all the posts over to it and everything is now working.
The error started when I deleted post, so perhaps something has gone corrupt in the database ???♂?