I am getting error using FacebookConnect web part in the CMS 8.2 site. I get the following error in the logs
Message: Object reference not set to an instance of an object.
Exception type: System.NullReferenceException Stack Trace: at CMS.Base.StringExtensions.StartsWithCSafe(String value, String str, Boolean ignoreCase) at CMS.Helpers.URLHelper.CheckPrefix(String& path, String prefix, Boolean removePrefix) at CMS.Helpers.URLHelper.CheckPrefixes(String& path, String[] prefixes, Boolean removePrefix) at CMS.Membership.AuthenticationHelper.IsAuthenticationRedirect() at CMS.Membership.MembershipHandlers.HandleAuthenticationRedirect(Object sender, EventArgs e) at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler1 h, TArgs e) at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List1 list, TArgs e, Boolean important) at CMS.Base.SimpleHandler2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.StartEvent(TArgs e)
1 h, TArgs e) at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List
2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler
What hotfix are you on? There were some api changes in Facebook that were fixed in 8.2.28, and possibly other changes, that would be a good place to start.
Thank you Trevor. We are using CMS 8.2.50 I believe the web part has a bug around this line
string confirmToken = QueryHelper.GetString(CONFIRMATION_URLPARAMETER, null);
Please confirm if this is the issue.
Please, sign in to be able to submit a new answer.