YAFLogo

ChazZeromus
11 years ago
There's seem to be a issue, which I don't know exactly how to replicate but here's what I did. I simply created a new group, leaving most things at default then when saving I get this error and stack trace:


Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   YAF.Controls.RoleRankStyles.Render(HtmlTextWriter writer) +714
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   YAF.Controls.AdminMenu.Render(HtmlTextWriter writer) +471
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   YAF.Core.ForumPage.Render(HtmlTextWriter writer) in C:\Users\Chaz.King-PC\Desktop\yaf\YAF.Core\BasePages\ForumPage.cs:561
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   YAF.Forum.Render(HtmlTextWriter writer) +338
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290

I always get this exception at the ranks and groups page. I'm using 1.9.5

Sponsor

Users browsing this topic