shvager87 wrote:There is an error when the Plugin is added to any widgetZone.
Nop 2.7
Server Error in '/' Application.
Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
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.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
Source Error:
Line 3: @foreach (var widget in Model)
Line 4: {
Line 5: @Html.Action(widget.ActionName, widget.ControllerName, widget.RouteValues)
Line 6: }
Source File: d:\WebSites\27\Views\Widget\WidgetsByZone.cshtml Line: 5
Stack Trace:
[ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.]
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0
System.Collections.Generic.List`1.set_Capacity(Int32 value) +101
System.Collections.Generic.List`1.EnsureCapacity(Int32 min) +43.....
Hi shvager87,
There is no problem on our end. We tested the plugin and it works fine with widget zones.
Can you please answer the following questions, so that we will be able to investigate your problem:
Have you updated the plugin from 2.65 to 2.7?
Have you updated the Core plugin?
Have you made any changes to nopCommerce code?
Please try to change the Global.asax file, as I described in the post above.
I will be waiting for your reply.
Best wishes.
Ivan Stoyanov