AI OnAI Off
Can you see what it is that is null when this happens? If not, perhaps you should contact EPiSupport for further assistance.
Hi Hakan,
Thanks for the reply. I manged to resolve this by reinstalling Community.
Martin.
Hi all,
I am receiving a null reference error when using the Community Abuse Report gadget. The gadget seems fine when there are no reports, but after a report is added it causes a 500 error.
The error points to line 58 in the EPiServerCommunity\Views\Abuse\Report.ascx control:
I am adding the reports like so:
IReport report = new EPiServer.Common.Reporting.Report(EntityToReport, new UserAuthor(CurrentUser), txtDescription.Text);
report = ReportHandler.Instance.AddReport(report);
Where EntityToReport is of type IReportableEntity and is a forum Topic entry.
Has anyone encountered this problem before? Or can anyone suggest what I can do to fix this?
Thanks,
Martin