If you don’t import theme latest demo data with the latest update version then you need to set your custom post link by manually.
Go to dashboard Services and just update your all custom posts. please follow the below screenshots
Here posts default link goes post details page. You also can use your custom link for custom post
Please apply the same process for all custom posts.