This is not a bug in the end. There are 3 site sections: Frontend Admin Knowledge Addons may contribute to all 3. It just so happens that some core addons contribute to the proprietary knowledge section. See The "Additional entries" section in particular.
Look at that discussion: https://open.vanillaforums.com/discussion/38086/upgrading-from-2-0-18b1-to-3-3#latest I think you need to proceed the same. Find out where the column LastCategoryID is missing and create it manually.