Hello All,

I am maintaining a site in production based on 3.80 version, in which all default widgets and plugins were deleted by previous developer except one (Nivo Slider). In order to get Google Analytics widget back, I uploaded Widgets.GoogleAnalytics folder in plugin folder.

Now when I try to configure the plugin I get following error:

Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Nop.Plugin.Widgets.GoogleAnalytics.Models.ConfigurationModel>' does not contain a definition for 'NopEditorFor' and no extension method 'NopEditorFor' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Nop.Plugin.Widgets.GoogleAnalytics.Models.ConfigurationModel>' could be found (are you missing a using directive or an assembly reference?)

Line 122:                    </div>
Line 123:                    <div class="col-md-9">
Line 124:                        @Html.NopEditorFor(model => model.GoogleId)
Line 125:                        @Html.ValidationMessageFor(model => model.GoogleId)
Line 126:                    </div>

Source File: d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml    Line: 124

Gives error for 6 different functions
Detailed error shortened:

d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml(124,31):
d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml(134,31):
d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml(144,31):
d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml(154,31):
d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml(164,31):
d:\home\site\wwwroot\Plugins\Widgets.GoogleAnalytics\Views\WidgetsGoogleAnalytics\Configure.cshtml(173,31):


Can anyone please let me know how to resolve this issue.