We're sorry, an internal error occurred.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello. I use a website with version 4.2. I get this error when I enter some pages;

"We're sorry, an internal error occurred.

Our supporting staff has been notified of this error and will address the issue shortly.

We apologize for the inconvenience.

Please try clicking your browsers 'back' button or try reloading the home page.

If you continue to receive this message, please try again in a little while.

Thank you for your patience. "

How can I solve this?

My site: tuninggaraj.com

error page: https://tuninggaraj.com/kar-paleti-sessiz-civili-oto-kar-zinciri-takim-2357016
3 years ago
See this topic
https://www.nopcommerce.com/en/boards/topic/75094/nopcommerce-420-were-sorry-an-internal-error-occurred
3 years ago
"Log level  
Error
Short message  
Object reference not set to an instance of an object.
Full message  
System.NullReferenceException: Object reference not set to an instance of an object.
   at AspNetCore.Plugins_SevenSpikes_Nop_Plugins_JCarousel_Themes_Pavilion_Views_Components_JCarousel_JCarousel.ExecuteAsync() in C:\Inetpub\vhosts\tuninggaraj.com\httpdocs\Plugins\SevenSpikes.Nop.Plugins.JCarousel\Themes\Pavilion\Views\Components\JCarousel\JCarousel.cshtml:line 81
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult.ExecuteAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
   at StackExchange.Profiling.Internal.ProfilingViewComponentInvoker.InvokeAsync(ViewComponentContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore.Mvc\Internal\ProfilingViewComponentInvoker.cs:line 30
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
   at AspNetCore.Views_Shared_Components_Widget_Default.ExecuteAsync() in C:\Inetpub\vhosts\tuninggaraj.com\httpdocs\Views\Shared\Components\Widget\Default.cshtml:line 4
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult.ExecuteAsync(ViewComponentContext context)
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context)
   at StackExchange.Profiling.Internal.ProfilingViewComponentInvoker.InvokeAsync(ViewComponentContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore.Mvc\Internal\ProfilingViewComponentInvoker.cs:line 30
   at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper.InvokeCoreAsync(ViewComponentDescriptor descriptor, Object arguments)
   at AspNetCore.Themes_Pavilion_Views_Product_ProductTemplate_Simple.<>c__DisplayClass11_0.<<ExecuteAsync>b__1>d.MoveNext() in C:\Inetpub\vhosts\tuninggaraj.com\httpdocs\Themes\Pavilion\Views\Product\ProductTemplate.Simple.cshtml:line 162
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.GetChildContentAsync(Boolean useCachedResult, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output)
   at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.RunAsync(TagHelperExecutionContext executionContext)
   at AspNetCore.Themes_Pavilion_Views_Product_ProductTemplate_Simple.ExecuteAsync() in C:\Inetpub\vhosts\tuninggaraj.com\httpdocs\Themes\Pavilion\Views\Product\ProductTemplate.Simple.cshtml:line 61
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync(IActionResult result)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResultExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultFilters()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at WebMarkupMin.AspNetCore2.WebMarkupMinMiddleware.Invoke(HttpContext context)
   at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 94
   at Nop.Services.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Services\Authentication\AuthenticationMiddleware.cs:line 79
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Nop.Services.Installation.InstallUrlMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Services\Installation\InstallUrlMiddleware.cs:line 52
   at Nop.Services.Common.KeepAliveMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Services\Common\KeepAliveMiddleware.cs:line 49
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
IP address  
46.1.31.112
Customer  [email protected]
Page URL  
https://tuninggaraj.com/kar-paleti-sessiz-civili-oto-kar-zinciri-takim-2357016
Referrer URL  
https://tuninggaraj.com/"

Journaling on this site.
3 years ago
Has anything been changed recently ?

Did you just install the JCarousel plugin ?
If so uninstall the plugin
3 years ago
Yidna wrote:
Has anything been changed recently ?

Did you just install the JCarousel plugin ?
If so uninstall the plugin


This plugin is not new. I have been using it for a long time. It is about 6-7 months. is there another way? except to remove
3 years ago
I assume you tried restarting the webserver ?

If still a problem and you dont want to try uninstall and reinstall the pluign
Then try you could try and contact the developer for help
3 years ago
kerimakarsu wrote:
SevenSpikes.Nop.Plugins.JCarousel\Themes\Pavilion\Views\Components\JCarousel\JCarousel.cshtml:line 81

Issue is not related to nopCommerce itself, but it`s related to third party component, so you should contact with vendor directly.

Regards,
Tom
3 years ago
I will remove this plugin and try again.
3 years ago
i tried plugin. problem is solved. Thanks for your help :)
3 years ago
I was curious because I have the same plugin.  Line 81 deals with the "animationSpeedString" setting for a particular carousel, so if you try again make sure it is set to either slow or fast and see what happens.

yours was erroring out on the switch statement:


    var loopItems = carousel.Settings.JCarouselEntitySettings.LoopItems;
    var numberOfItemsToShow = carousel.Settings.JCarouselEntitySettings.NumberOfVisibleItems < 1 ? 1 : carousel.Settings.JCarouselEntitySettings.NumberOfVisibleItems;
    var numOfSlidesToScroll = carousel.Settings.JCarouselEntitySettings.ScrollItems;
    var navigationDots = carousel.Settings.JCarouselEntitySettings.NavigationDots;
    var animationSpeedString = carousel.Settings.JCarouselEntitySettings.AnimationSpeed;
    var animationSpeed = 0;
    var autoscrollTimeout = carousel.Settings.JCarouselEntitySettings.Autoscroll;
    var autoscroll = autoscrollTimeout > 0;
    var navigationArrows = carousel.Settings.JCarouselEntitySettings.NavigationArrows;
    var initialSlide = carousel.Settings.JCarouselEntitySettings.StartIndex - 1;
    var pauseOnHover = carousel.Settings.JCarouselEntitySettings.AutoscrollHoverPause;
    var prevArrowHtml = "<button type=\"button\" data-role=\"none\" class=\"slick-prev\" aria-label=\"Previous\" tabindex=\"0\" role=\"button\">" + T("SevenSpikes.JCarousel.Public.PreviousArrow") + "</button>";
    var nextArrowHtml = "<button type=\"button\" data-role=\"none\" class=\"slick-next\" aria-label=\"Next\" tabindex=\"0\" role=\"button\">" + T("SevenSpikes.JCarousel.Public.NextArrow") + "</button>";
    var carouselArrowsContainer = "#" + carousel.Settings.CarouselHtmlElementId + " " + carousel.NavigationArrowsSelector;

    switch (animationSpeedString)
    {
        case "slow":
            animationSpeed = 300;

            break;
        case "fast":
            animationSpeed = 150;

            break;
    }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.