Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error during the first cache clear: Class Extend\Entity\EV_Lead_Status does not exist #330

Open
vtsykun opened this issue Mar 14, 2019 · 0 comments

Comments

@vtsykun
Copy link
Contributor

vtsykun commented Mar 14, 2019

An error occurs if application is not installed during the first cache clear. Reproduced on oro/crm 3.1.4

$ rm -rf var/cache/*
$ php bin/console -vvv 
In ChainProcessor.php line 44:
                                                                                                                          
  [Oro\Component\ChainProcessor\Exception\ExecutionFailedException]                                                       
  Processor failed: "oro_api.get_config.load_from_config_bag". Reason: Class Extend\Entity\EV_Lead_Status does not exist  
                                                                                                                          

Exception trace:
 () at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/ChainProcessor.php:44
 Oro\Component\ChainProcessor\ChainProcessor->executeProcessors() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/ChainProcessor.php:28
 Oro\Component\ChainProcessor\ChainProcessor->process() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/Debug/TraceableActionProcessor.php:49
 Oro\Component\ChainProcessor\Debug\TraceableActionProcessor->process() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ConfigProvider.php:72
 Oro\Bundle\ApiBundle\Provider\ConfigProvider->getConfig() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesWithoutIdentifierLoader.php:61
 Oro\Bundle\ApiBundle\Provider\ResourcesWithoutIdentifierLoader->hasIdentifierFields() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesWithoutIdentifierLoader.php:39
 Oro\Bundle\ApiBundle\Provider\ResourcesWithoutIdentifierLoader->load() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesProvider.php:362
 Oro\Bundle\ApiBundle\Provider\ResourcesProvider->loadResourcesWithoutIdentifier() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesProvider.php:81
 Oro\Bundle\ApiBundle\Provider\ResourcesProvider->getAccessibleResources() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/SubresourcesProvider.php:64
 Oro\Bundle\ApiBundle\Provider\SubresourcesProvider->getSubresources() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesCacheWarmer.php:72
 Oro\Bundle\ApiBundle\Provider\ResourcesCacheWarmer->warmUpCache() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/CacheManager.php:105
 Oro\Bundle\ApiBundle\Provider\CacheManager->warmUpDirtyCaches() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/OroApiBundle.php:112
 Oro\Bundle\ApiBundle\OroApiBundle->boot() at /var/www/cuantic/application/otek/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:139
 Symfony\Component\HttpKernel\Kernel->boot() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/DistributionBundle/OroKernel.php:228
 Oro\Bundle\DistributionBundle\OroKernel->boot() at /var/www/cuantic/application/otek/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:64
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/cuantic/application/otek/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:148
 Symfony\Component\Console\Application->run() at /var/www/cuantic/application/otek/bin/console:29

In LoadFromConfigBag.php line 130:
                                                     
  [ReflectionException (-1)]                         
  Class Extend\Entity\EV_Lead_Status does not exist  
                                                     

Exception trace:
 () at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Processor/Config/Shared/LoadFromConfigBag.php:130
 ReflectionClass->__construct() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Processor/Config/Shared/LoadFromConfigBag.php:130
 Oro\Bundle\ApiBundle\Processor\Config\Shared\LoadFromConfigBag->buildConfig() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Processor/Config/Shared/LoadFromConfigBag.php:109
 Oro\Bundle\ApiBundle\Processor\Config\Shared\LoadFromConfigBag->loadConfig() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Processor/Config/GetConfig/LoadFromConfigBag.php:83
 Oro\Bundle\ApiBundle\Processor\Config\GetConfig\LoadFromConfigBag->processConfig() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Processor/Config/Shared/LoadFromConfigBag.php:56
 Oro\Bundle\ApiBundle\Processor\Config\Shared\LoadFromConfigBag->process() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/Debug/TraceableProcessor.php:46
 Oro\Component\ChainProcessor\Debug\TraceableProcessor->process() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/ChainProcessor.php:42
 Oro\Component\ChainProcessor\ChainProcessor->executeProcessors() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/ChainProcessor.php:28
 Oro\Component\ChainProcessor\ChainProcessor->process() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Component/ChainProcessor/Debug/TraceableActionProcessor.php:49
 Oro\Component\ChainProcessor\Debug\TraceableActionProcessor->process() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ConfigProvider.php:72
 Oro\Bundle\ApiBundle\Provider\ConfigProvider->getConfig() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesWithoutIdentifierLoader.php:61
 Oro\Bundle\ApiBundle\Provider\ResourcesWithoutIdentifierLoader->hasIdentifierFields() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesWithoutIdentifierLoader.php:39
 Oro\Bundle\ApiBundle\Provider\ResourcesWithoutIdentifierLoader->load() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesProvider.php:362
 Oro\Bundle\ApiBundle\Provider\ResourcesProvider->loadResourcesWithoutIdentifier() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesProvider.php:81
 Oro\Bundle\ApiBundle\Provider\ResourcesProvider->getAccessibleResources() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/SubresourcesProvider.php:64
 Oro\Bundle\ApiBundle\Provider\SubresourcesProvider->getSubresources() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/ResourcesCacheWarmer.php:72
 Oro\Bundle\ApiBundle\Provider\ResourcesCacheWarmer->warmUpCache() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/Provider/CacheManager.php:105
 Oro\Bundle\ApiBundle\Provider\CacheManager->warmUpDirtyCaches() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/ApiBundle/OroApiBundle.php:112
 Oro\Bundle\ApiBundle\OroApiBundle->boot() at /var/www/cuantic/application/otek/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:139
 Symfony\Component\HttpKernel\Kernel->boot() at /var/www/cuantic/application/otek/vendor/oro/platform/src/Oro/Bundle/DistributionBundle/OroKernel.php:228
 Oro\Bundle\DistributionBundle\OroKernel->boot() at /var/www/cuantic/application/otek/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:64
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/cuantic/application/otek/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:148
 Symfony\Component\Console\Application->run() at /var/www/cuantic/application/otek/bin/console:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant