This topic contains 3 replies, has 3 voices, and was last updated by adriwan_kenoby 6 years, 11 months ago.
-
Topic
-
I’va had a demo bundle with a demo entity which i removed recently and now I’m experiencing an exception:
1Class Crm\Bundle\DemoBundle\Entity\Demo does not existI already tried to remove cache and rebuild entity config, but problem still persists.
Here are commands:1234rm -rf app/cache/*app/console oro:entity-config:updateapp/console app/console oro:entity-extend:update-configphp app/console cache:clear -e dev && php app/console cache:clear -e prodI found a row in database table called oro_entity_config with data about with entity. It also still there after running all above commands.
Stack trace:
[1] ReflectionException: Class Crm\Bundle\DemoBundle\Entity\Demo does not exist at n/a in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/EntityHierarchyProvider.php line 110 at ReflectionClass->__construct('Crm\Bundle\DemoBundle\Entity\Demo') in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/EntityHierarchyProvider.php line 110 at Oro\Bundle\EntityBundle\Provider\EntityHierarchyProvider->loadParents(array(), 'Crm\Bundle\DemoBundle\Entity\Demo') in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/EntityHierarchyProvider.php line 81 at Oro\Bundle\EntityBundle\Provider\EntityHierarchyProvider->ensureHierarchyInitialized() in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/EntityHierarchyProvider.php line 42 at Oro\Bundle\EntityBundle\Provider\EntityHierarchyProvider->getHierarchy() in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/AbstractConfigVirtualProvider.php line 47 at Oro\Bundle\EntityBundle\Provider\AbstractConfigVirtualProvider->ensureVirtualFieldsInitialized() in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/ConfigVirtualRelationProvider.php line 14 at Oro\Bundle\EntityBundle\Provider\ConfigVirtualRelationProvider->isVirtualRelation('OroCRM\Bundle\CampaignBundle\Entity\Campaign', false) in /var/www/vendor/oro/platform/src/Oro/Bundle/EntityBundle/Provider/ChainVirtualRelationProvider.php line 15 at Oro\Bundle\EntityBundle\Provider\ChainVirtualRelationProvider->isVirtualRelation('OroCRM\Bundle\CampaignBundle\Entity\Campaign', false) in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/AbstractQueryConverter.php line 873 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\AbstractQueryConverter->replaceJoinsForVirtualRelation('') in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/AbstractQueryConverter.php line 1071 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\AbstractQueryConverter->addTableAliasesForJoinIdentifiers(array('')) in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/AbstractQueryConverter.php line 708 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\AbstractQueryConverter->addTableAliasForRootEntity() in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/AbstractQueryConverter.php line 419 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\AbstractQueryConverter->prepareTableAliases() in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/AbstractQueryConverter.php line 400 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\AbstractQueryConverter->buildQuery() in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/AbstractQueryConverter.php line 386 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\AbstractQueryConverter->doConvert(object(Report)) in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/QueryDesigner/GroupingOrmQueryConverter.php line 46 at Oro\Bundle\QueryDesignerBundle\QueryDesigner\GroupingOrmQueryConverter->doConvert(object(Report)) in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/Grid/DatagridConfigurationQueryConverter.php line 98 at Oro\Bundle\QueryDesignerBundle\Grid\DatagridConfigurationQueryConverter->doConvert(object(Report)) in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/Grid/DatagridConfigurationQueryConverter.php line 83 at Oro\Bundle\QueryDesignerBundle\Grid\DatagridConfigurationQueryConverter->convert('oro_report_table_1', object(Report)) in /var/www/vendor/oro/platform/src/Oro/Bundle/QueryDesignerBundle/Grid/DatagridConfigurationBuilder.php line 104 at Oro\Bundle\QueryDesignerBundle\Grid\DatagridConfigurationBuilder->getConfiguration() in /var/www/vendor/oro/platform/src/Oro/Bundle/ReportBundle/Grid/BaseReportConfigurationBuilder.php line 37 at Oro\Bundle\ReportBundle\Grid\BaseReportConfigurationBuilder->getConfiguration() in /var/www/vendor/oro/platform/src/Oro/Bundle/ReportBundle/Grid/ReportDatagridConfigurationBuilder.php line 14 at Oro\Bundle\ReportBundle\Grid\ReportDatagridConfigurationBuilder->getConfiguration() in /var/www/vendor/oro/platform/src/Oro/Bundle/ReportBundle/Grid/ReportDatagridConfigurationProvider.php line 63 at Oro\Bundle\ReportBundle\Grid\ReportDatagridConfigurationProvider->getConfiguration('oro_report_table_1') in /var/www/vendor/oro/platform/src/Oro/Bundle/ReportBundle/Grid/ReportDatagridConfigurationProvider.php line 78 at Oro\Bundle\ReportBundle\Grid\ReportDatagridConfigurationProvider->isReportValid('oro_report_table_1') in /var/www/vendor/oro/platform/src/Oro/Bundle/ReportBundle/Controller/ReportController.php line 47 at Oro\Bundle\ReportBundle\Controller\ReportController->viewAction(object(Report)) in line at call_user_func_array(array(object(ReportController), 'viewAction'), array(object(Report))) in /var/www/app/bootstrap.php.cache line 3109 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/app/bootstrap.php.cache line 3071 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/app/bootstrap.php.cache line 3222 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/app/bootstrap.php.cache line 2444 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/web/app_dev.php line 30
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.