After upgrading from CMS 11 to 12 I have some issues with Visitor Groups which seems related to a plugin for Categories. I have changed the plugin from Geta.EpiCategories (https://github.com/Geta/EpiCategories) to the dotnet 5+ alternative Geta.Optimizely.Categories (https://github.com/Geta/geta-optimizely-categories). When I start the CMS using dotnet run I get the following error in the console:
fail: EPiServer.Personalization.VisitorGroups.VisitorGroupRole[0] Unable load criterion of type 'Geta.EpiCategories.CategoryCriterion, Geta.EpiCategories' System.IO.FileNotFoundException: Could not load file or assembly 'Geta.EpiCategories, Culture=neutral, PublicKeyToken=null'.
It seems that there are stuff from the old plugin still lingering. And, when I take a peek in the database I see references to it in various tables, e.g. “Geta.EpiCategories.CategoryCriterionSettings, Geta.EpiCategories, Version=1.2.11.0, Culture=neutral, PublicKeyToken=null” in tblBigTable.
I don’t know how to handle this. Should I perform some kind of manual database cleanup? Or, should something similar have been done for me automatically but has failed for some reason?
I don’t know if it is related, but when I make a dummy change to one of the existing Visitor Groups, I get a NullReferenceException from EPiServer.Cms.UI.VisitorGroups.Api.ModelBinding.VisitorGroupModelBinder.Validate()