Thread:Extension talk:Wikibase Repository/Obnoxious PHP error/reply (2)

I'm still getting the same error. Maybe I'm using a branch of Wikibase or mediawiki/core that aren't working together? I'm using master MediaWiki and was on master Wikibase, but it's as if it isn't finding the "Wikibase\TemplateRegistry" class. Where should this class be found? I'm seeing references to it in WikibaseLib.php which is the file where these errors are coming from.