Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'Umbraco.Web.PublishedContentModels.SectionText' does not contain a definition for 'GetSectionEffectCssClass' and no extension method 'GetSectionEffectCssClass' accepting a first argument of type 'Umbraco.Web.PublishedContentModels.SectionText' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 9:  }
Line 10: 
Line 11: <section id="section_@currSection.Id.ToString()" class="@currSection.GetSectionEffectCssClass() ptb-15 pt-sm-15">
Line 12:     <div class="container">
Line 13:         <div class="@rowCssClass">

Source File: h:\root\home\gsscc360admin-001\www\gssccnationals2022\Views\Partials\SectionText.cshtml    Line: 11






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0