• tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2 years ago
I've recently upgraded to YAF 2.31.7 from 2.31.5. Now, if we open any post with attachments, we see the following error message:


Forum Error

There has been a serious error loading the forum. No further information is available.

Please contact the administrator if this message persists.

The corresponding record in the event log shows the following exception and stack trace:

Exception at URL: https://example.com/forum/Default.aspx?g=posts&t=337& (URL:'https://example.com/forum/Default.aspx?g=posts&t=337&')
System.Web.HttpException (0x80004005): Could not load type 'YAF.Web.BBCodes.Attach'.
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at YAF.Web.Controls.MessageBase.<>c__DisplayClass3_0.<RenderModulesInBBCode>b__0(KeyValuePair`2 keyPair)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at YAF.Types.Extensions.EnumerableExtensions.ForEach[T](IEnumerable`1 list, Action`1 action)
   at YAF.Web.Controls.MessageBase.RenderModulesInBBCode(HtmlTextWriter writer, String message, MessageFlags theseFlags, Nullable`1 displayUserId, Nullable`1 messageId)
   at YAF.Web.Controls.MessagePostData.RenderMessage(HtmlTextWriter writer)
   at YAF.Web.Controls.MessagePost.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)

Please, fix this as soon as possible!


  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
2 years ago
Go to Admin > Settings > BB Code Extensions > Click on Attach Edit > and under Module Class Name change it to..

  • tecman
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
2 years ago
I hope this will be a built-in fix in the next update, v2.31.8?