Getting 404 is very common issue for custom post type single post. But it’s very easy to solve. To solve that, Go to Settings>Permalinks. First, click on “Default” radio from Common Settings and click save button. Then again click on “Post name” radio and click save.
Now, Check your knowledgebase single page and it should work fine.