#StackBounty: #c# #validation #asp.net-mvc #exception Validation for a CQS system that throws an exception

Bounty: 50

I’ve been reading that exceptions should only be for something “exceptional” and not used to control the flow of a program. However, with a CQS implementation, this seems impossible unless I start hacking up the implementation to deal with it. I wanted to show how I implemented this to see if this is something really bad or not. I’m using decorators so commands cannot return anything (other than Task for async), so a ValidationResult is out of the question. Let me know!

This example will use ASP.NET MVC

Controller: (api)

[Route(ApiConstants.ROOT_API_URL_VERSION_1 + "DigimonWorld2Admin/Digimon/Create")]
public class CreateCommandController : MetalKidApiControllerBase
{
    private readonly IMediator _mediator;

    public CreateCommandController(IMediator mediator) => _mediator = mediator;

    [HttpPost]
    public async Task Post([FromBody]CreateCommand command) => 
        await _mediator.ExecuteAsync(command);
}

CommandExceptionDecorator is first in the chain:

public class CommandHandlerExceptionDecorator<TCommand> : ICommandHandler<TCommand> where TCommand : ICommand
{
    private readonly ICommandHandler<TCommand> _commandHandler;
    private readonly ILogger _logger;
    private readonly IUserContext _userContext;

    public CommandHandlerExceptionDecorator(ICommandHandler<TCommand> commandHandler, ILogger logger,
        IUserContext userContext)
    {
        Guard.IsNotNull(commandHandler, nameof(commandHandler));
        Guard.IsNotNull(logger, nameof(logger));

        _commandHandler = commandHandler;
        _logger = logger;
        _userContext = userContext;
    }

    public async Task ExecuteAsync(TCommand command, CancellationToken token = default(CancellationToken))
    {
        try
        {
            await _commandHandler.ExecuteAsync(command, token).ConfigureAwait(false);
        }
        catch (BrokenRuleException)
        {
            throw; // Let caller catch this directly
        }
        catch (UserFriendlyException ex)
        {
            await _logger.LogAsync(new LogEntry(LogTypeEnum.Error, _userContext,
                "Friendly exception with command: " + typeof(TCommand).FullName, ex, command)).ConfigureAwait(false);
            throw; // Let caller catch this directly
        }
        catch (NoPermissionException ex)
        {
            await _logger.LogAsync(new LogEntry(LogTypeEnum.Error, _userContext,
                "No Permission exception with command: " + typeof(TCommand).FullName, ex, command)).ConfigureAwait(false);
            throw new UserFriendlyException(CommonResource.Error_NoPermission); // Rethrow with a specific message
        }
        catch (ConcurrencyException ex)
        {
            await _logger.LogAsync(new LogEntry(LogTypeEnum.Error, _userContext,
                "Concurrency error with command: " + typeof(TCommand).FullName, ex, command)).ConfigureAwait(false);
            throw new UserFriendlyException(CommonResource.Error_Concurrency); // Rethrow with a specific message
        }
        catch (Exception ex)
        {
            await _logger.LogAsync(new LogEntry(LogTypeEnum.Error, _userContext,
                "Error with command: " + typeof(TCommand).FullName, ex, command)).ConfigureAwait(false);
            throw new UserFriendlyException(CommonResource.Error_Generic); // Rethrow with a specific message
        }
    }
}

Validation Decorator:

public class CommandHandlerValidatorDecorator<TCommand> : ICommandHandler<TCommand> where TCommand : ICommand
{
    private readonly ICommandHandler<TCommand> _commandHandler;
    private readonly IEnumerable<ICommandValidator<TCommand>> _validators;

    public CommandHandlerValidatorDecorator(
        ICommandHandler<TCommand> commandHandler,
        ICollection<ICommandValidator<TCommand>> validators)
    {
        Guard.IsNotNull(commandHandler, nameof(commandHandler));
        Guard.IsNotNull(validators, nameof(validators));

        _commandHandler = commandHandler;
        _validators = validators;
    }

    public async Task ExecuteAsync(TCommand command, CancellationToken token = default(CancellationToken))
    {
        var brokenRules = (await Task.WhenAll(_validators.AsParallel()
                .Select(a => a.ValidateCommandAsync(command, token)))
            .ConfigureAwait(false)).SelectMany(a => a).ToList();

        if (brokenRules.Any())
        {
            throw new BrokenRuleException(brokenRules);
        }

        await _commandHandler.ExecuteAsync(command, token).ConfigureAwait(false);
    }
}

Other decorators exist but aren’t important for this question.

Example of a Command Handler Validator: (Each rule is run on its own thread under the covers)

public class CreateCommandValidator : CommandValidatorBase<CreateCommand>
{
    private readonly IDigimonWorld2ContextFactory _contextFactory;

    public CreateCommandValidator(IDigimonWorld2ContextFactory contextFactory)
    {
        _contextFactory = contextFactory;
    }

    protected override void CreateRules(CancellationToken token = default(CancellationToken))
    {
        AddRule(() => Validate.If(string.IsNullOrEmpty(Command.Name))
            ?.CreateRequiredBrokenRule(DigimonResources.Digipedia_CreateCommnad_Name, nameof(Command.Name)));
        AddRule(() => Validate.If(Command.DigimonTypeId == 0)
            ?.CreateRequiredBrokenRule(DigimonResources.Digipedia_CreateCommnad_DigimonTypeId,
                nameof(Command.DigimonTypeId)));
        AddRule(() => Validate.If(Command.RankId == 0)
            ?.CreateRequiredBrokenRule(DigimonResources.Digipedia_CreateCommnad_RankId, nameof(Command.RankId)));

        AddRule(async () =>
        {
            using (var context = _contextFactory.Create(false))
            {
                return Validate.If(
                        !string.IsNullOrEmpty(Command.Name) &&
                        await context.Digimons
                            .AnyAsync(a => a.Name == Command.Name, token)
                            .ConfigureAwait(false))
                    ?.CreateAlreadyInUseBrokenRule(DigimonResources.Digipedia_CreateCommnad_Name, Command.Name,
                        nameof(Command.Name));
            }
        });
    }
}

Actual Command Handler:

public class CreateCommandValidatorHandler : ICommandHandler<CreateCommand>
{
    private const int ExpectedChangesCount = 1;

    private readonly IDigimonWorld2ContextFactory _contextFactory;
    private readonly IMapper<CreateCommand, DigimonEntity> _mapper;

    public CreateCommandValidatorHandler(
        IDigimonWorld2ContextFactory contextFactory, 
        IMapper<CreateCommand, DigimonEntity> mapper)
    {
        _contextFactory = contextFactory;
        _mapper = mapper;
    }

    public async Task ExecuteAsync(CreateCommand command, CancellationToken token = default(CancellationToken))
    {
        using (var context = _contextFactory.Create())
        {
            var entity = _mapper.Map(command);
            context.Digimons.Add(entity);
            await context.SaveChangesAsync(ExpectedChangesCount, token).ConfigureAwait(false);
        }
    }
}

When an exception is thrown for broken validation rules, the normal flow is broken. Each step assumes that the previous step succeeded. This makes the code very clean as we don’t care about failures during the actual implementation. All commands end up going through this same logic so we only have to write it once. At the very top of MVC, I handle the BrokenRuleException like this: (I do AJAX calls, not full page posts)

internal static class ErrorConfiguration
{
    public static void Configure(
        IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IConfigurationRoot configuration)
    {
        loggerFactory.AddConsole(configuration.GetSection("Logging"));
        loggerFactory.AddDebug();

        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
            app.UseBrowserLink();
        }
        else
        {
            app.UseExceptionHandler("/Home/Error");
        }

        app.UseExceptionHandler(errorApp =>
        {
            errorApp.Run(async context =>
            {
                var error = context.Features.Get<IExceptionHandlerFeature>()?.Error;

                context.Response.StatusCode = GetErrorStatus(error);
                context.Response.ContentType = "application/json";

                var message = GetErrorData(error);
                await context.Response.WriteAsync(message, Encoding.UTF8);
            });
        });
    }

    private static string GetErrorData(Exception ex)
    {
        if (ex is BrokenRuleException brokenRules)
        {
            return JsonConvert.SerializeObject(new
            {
                BrokenRules = brokenRules.BrokenRules
            });
        }

        if (ex is UserFriendlyException userFriendly)
        {
            return JsonConvert.SerializeObject(new
            {
                Message = userFriendly.Message
            });
        }

        return JsonConvert.SerializeObject(new
        {
            Message = MetalKid.Common.CommonResource.Error_Generic
        });
    }

    private static int GetErrorStatus(Exception ex)
    {
        if (ex is BrokenRuleException || ex is UserFriendlyException)
        {
            return (int)HttpStatusCode.BadRequest;
        }
        return (int)HttpStatusCode.InternalServerError;
    }
}

BrokenRule class has the message and a relation field. This relation allows the UI to tie a message to something on the page (i.e. a , or form label, etc.) to display the message in the correct location

public class BrokenRule
{      
    public string RuleMessage { get; set; }
    public string Relation { get; set; }

    public BrokenRule() { }

    public BrokenRule(string ruleMessage, string relation = "")
    {
        Guard.IsNotNullOrWhiteSpace(ruleMessage, nameof(ruleMessage));

        RuleMessage = ruleMessage;
        Relation = relation;
    }
}

If I don’t do it like this, the controller would have to call a validation class first, look at the results, and then return it as a 400 with the correct response. Most likely, you would have to call a helper class to convert it correctly. However, then the controller would end up looking like this or something similar:

[Route(ApiConstants.ROOT_API_URL_VERSION_1 + "DigimonWorld2Admin/Digimon/Create")]
public class CreateCommandController : MetalKidApiControllerBase
{
    private readonly IMediator _mediator;
    private readonly ICreateCommandValidator _validator;

    public CreateCommandController(IMediator mediator, ICreateCommandValidator validator) 
    {
        _mediator = mediator;
        _validator = validator
    }

    [HttpPost]
    public async Task Post([FromBody]CreateCommand command)
    {
        var validationResult = _validator.Validate(command);
        if (validationResult.Errors.Count > 0) 
        {
           return ValidationHelper.Response(validationResult);
        }
        return await _mediator.ExecuteAsync(command);
    }
}

This validation check would need to be repeated on every single command. If it was forgotten, there would be big consequences. With the exception style, the code remains compact and developers don’t have to worry about adding that redundant code everytime.

I would really love to get everyones feedback. Thanks!

* Edit *
Another possible option would be to have another “mediator” for the response itself that could run validation directly first and then continue on:

[Route(ApiConstants.ROOT_API_URL_VERSION_1 + "DigimonWorld2Admin/Digimon/Create")]
public class CreateCommandController : MetalKidApiControllerBase
{
    private readonly IResultMediator _mediator;

    public CreateCommandController(IResultMediator mediator) => _mediator = mediator;

    [HttpPost]
    public async Task<IHttpAction> Post([FromBody]CreateCommand command) => 
        await _mediator.ExecuteAsync(command);
}

Inside this new ResultMediator class, it would look up the CommandValidator and if there were any validation errors it would simply return BadRequest(new { BrokenRules = brokenRules}) and call it good. Is this something that each UI will just have to create and handle? If there is an exception during this call, however, we’d have to handle that in this mediator directly. Thoughts?


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!

#StackBounty: #magento2 #cart #exception MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505

Bounty: 100

I’m getting this error constantly every 10 seconds on my website. It apparently causes my website to crash sometimes. Below is an example of one of the error messages. Does anyone know what to do to fix this issue?

[2017-04-01 05:07:35] main.CRITICAL: MagentoEavModelEntityAttributeException: No such entity with cartId = 1829505 in /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('Magento\Eav\Mod...', Array)
#1 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(57): MagentoFrameworkObjectManagerFactoryCompiled->create('Magento\Eav\Mod...', Array)
#2 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Validator/UniversalFactory.php(36): MagentoFrameworkObjectManagerObjectManager->create('Magento\Eav\Mod...', Array)
#3 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(655): MagentoFrameworkValidatorUniversalFactory->create('Magento\Eav\Mod...', Array)
#4 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1757): MagentoEavModelEntityAbstractEntity->walkAttributes('backend/afterLo...', Array)
#5 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1877): MagentoEavModelEntityAbstractEntity->_afterLoad(Object(MagentoCatalogModelProductInterceptor))
#6 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Observer/AfterEntityLoad.php(33): MagentoEavModelEntityAbstractEntity->afterLoad(Object(MagentoCatalogModelProductInterceptor))
#7 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoFrameworkEntityManagerObserverAfterEntityLoad->execute(Object(MagentoFrameworkEventObserver))
#8 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoFrameworkEntityManagerObserverAfterEntityLoad), Object(MagentoFrameworkEventObserver))
#9 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver))
#10 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Invoker/InvokerDefault/Interceptor.php(26): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->___callPlugins('dispatch', Array, Array)
#11 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefaultInterceptor->dispatch(Array, Object(MagentoFrameworkEventObserver))
#12 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch('magento_catalog...', Array)
#13 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EventManager.php(51): MagentoFrameworkEventManagerProxy->dispatch('magento_catalog...', Array)
#14 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/Operation/Read.php(124): MagentoFrameworkEntityManagerEventManager->dispatchEntityEvent('Magento\Catalog...', 'load_after', Array)
#15 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/EntityManager/EntityManager.php(61): MagentoFrameworkEntityManagerOperationRead->execute(Object(MagentoCatalogModelProductInterceptor), 743, Array)
#16 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ResourceModel/Product.php(655): MagentoFrameworkEntityManagerEntityManager->load(Object(MagentoCatalogModelProductInterceptor), 743)
#17 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Model/AbstractModel.php(531): MagentoCatalogModelResourceModelProduct->load(Object(MagentoCatalogModelProductInterceptor), 743, NULL)
#18 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(146): MagentoFrameworkModelAbstractModel->load(743)
#19 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Model/Product/Interceptor.php(2314): MagentoCatalogModelProductInterceptor->___callPlugins('load', Array, Array)
#20 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Model/ProductRepository.php(241): MagentoCatalogModelProductInterceptor->load(743)
#21 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): MagentoCatalogModelProductRepository->getById(743, false, '1', false)
#22 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product.php(417): MagentoCatalogApiProductRepositoryInterfaceProxy->getById(743, false, '1')
#23 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Helper/Product/View.php(212): MagentoCatalogHelperProduct->initProduct(743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#24 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-catalog/Controller/Product/View.php(109): MagentoCatalogHelperProductView->prepareAndRender(Object(MagentoFrameworkViewResultPageInterceptor), 743, Object(MagentoCatalogControllerProductViewInterceptor), Object(MagentoFrameworkDataObject))
#25 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Action/Action.php(102): MagentoCatalogControllerProductView->execute()
#26 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp))
#27 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoCatalogControllerProductViewInterceptor->___callParent('dispatch', Array)
#28 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'contextPlugin')
#29 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/Context.php(106): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#30 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginContext->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#31 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'customer-app-ac...')
#32 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#33 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoCustomerModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#34 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'storeCheck')
#35 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#36 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppActionPluginStoreCheck->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#37 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'weee-app-action...')
#38 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#39 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoWeeeModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#40 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Catalog...', 'dispatch', Object(MagentoCatalogControllerProductViewInterceptor), Array, 'tax-app-action-...')
#41 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): MagentoCatalogControllerProductViewInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#42 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoTaxModelAppActionContextPlugin->aroundDispatch(Object(MagentoCatalogControllerProductViewInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#43 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Catalog/Controller/Product/View/Interceptor.php(26): MagentoCatalogControllerProductViewInterceptor->___callPlugins('dispatch', Array, Array)
#44 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/FrontController.php(55): MagentoCatalogControllerProductViewInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#45 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp))
#46 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array)
#47 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'requestPreproce...')
#48 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#49 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#50 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install')
#51 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#52 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#53 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'searchautocompl...')
#54 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-search-autocomplete/src/SearchAutocomplete/Model/App/FrontController/Plugin.php(130): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#55 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MirasvitSearchAutocompleteModelAppFrontControllerPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#56 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#57 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChain{closure}(Object(MagentoFrameworkAppRequestHttp))
#58 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoPageCacheModelAppFrontControllerVarnishPlugin->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#59 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'front-controlle...')
#60 /var/www/vhosts/ooples.com/httpdocs/vendor/mirasvit/module-seo/src/Seo/Plugin/Event/BuiltinPlugin.php(109): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(Object(MagentoFrameworkAppRequestHttp))
#61 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MirasvitSeoPluginEventBuiltinPlugin->aroundAroundDispatch(Object(MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor), Object(Closure), Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#62 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(26): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->___callPlugins('aroundDispatch', Array, Array)
#63 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(142): MagentoPageCacheModelAppFrontControllerBuiltinPluginInterceptor->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp))
#64 /var/www/vhosts/ooples.com/httpdocs/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array)
#65 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp))
#66 /var/www/vhosts/ooples.com/httpdocs/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch()
#67 /var/www/vhosts/ooples.com/httpdocs/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp))
#68 {main} [] []


Get this bounty!!!