Forums › Forums › OroCommerce › Problem with cache oro:entity-extend:cache:check
This topic contains 4 replies, has 3 voices, and was last updated by Andrey Yatsenko 4 years, 5 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- September 16, 2019 at 1:50 am #40443
Hello, I start working on orocommerce. I tried to create custom Bundle and right after that I’ve got an error.
123456789(1/1) RuntimeExceptionIn RuntimeReflectionService.php line 63:Property Oro\Bundle\WebCatalogBundle\Entity\ContentNode::$metaTitles does not existoro:entity-extend:cache:check [--cache-dir CACHE-DIR] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--] <command>I didn’t create any custom entity.. Have no idea where to look. I tried to clear the cache with cache:clear, with deleting the cache folder. Tried to remove the vendor and install it again. The only thing that helps is switching to different database, but I have another error there. I would like to know how to fix errors like this one. Can you help me? :) Where to look in db?
- CreatorTopic
- AuthorReplies
- September 17, 2019 at 1:18 am #40462
It’s hard to say what is wrong without debugging. Try to clear the cache manually with
rm -rf var/cache/*
and run oro:platform:update command to warm up all the caches again.October 2, 2019 at 6:24 am #40627hello, same issue here
after a silent fail of oro:migration:load command – which created sql columns but without any reflection inside var/cache/oro_entities according class
tried to follow your instruction but now the app seems broken definitely, everything lead to the same error
PHP1234567891011121314151617181920212223242526272829303132333435363738394041424344454647In RuntimeReflectionService.php line 63:[ReflectionException]Property Oro\Bundle\WebCatalogBundle\Entity\ContentNode::$metaTitles does not existException trace:() at vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php:63ReflectionProperty->__construct() at vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php:63Doctrine\Common\Persistence\Mapping\RuntimeReflectionService->getAccessibleProperty() at vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php:970Doctrine\ORM\Mapping\ClassMetadataInfo->wakeupReflection() at vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:747Doctrine\ORM\Mapping\ClassMetadataFactory->wakeupReflection() at vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:181Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() at vendor/oro/platform/src/Oro/Bundle/EntityBundle/ORM/OroClassMetadataFactory.php:117Oro\Bundle\EntityBundle\ORM\OroClassMetadataFactory->getMetadataFor() at vendor/doctrine/doctrine-bundle/DoctrineBundle.php:80Doctrine\Bundle\DoctrineBundle\DoctrineBundle->Doctrine\Bundle\DoctrineBundle\{closure}() at n/a:n/acall_user_func() at vendor/doctrine/common/lib/Doctrine/Common/Proxy/Autoloader.php:71Doctrine\Common\Proxy\Autoloader::Doctrine\Common\Proxy\{closure}() at n/a:n/aspl_autoload_call() at n/a:n/aunserialize() at vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ObjectType.php:61Doctrine\DBAL\Types\ObjectType->convertToPHPValue() at vendor/oro/doctrine-extensions/src/Oro/DBAL/Types/ObjectType.php:19Oro\DBAL\Types\ObjectType->convertToPHPValue() at vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php:315Doctrine\ORM\Internal\Hydration\AbstractHydrator->gatherRowData() at vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php:331Doctrine\ORM\Internal\Hydration\ObjectHydrator->hydrateRowData() at vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php:162Doctrine\ORM\Internal\Hydration\ObjectHydrator->hydrateAllData() at vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php:152Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll() at vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:976Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache() at vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:922Doctrine\ORM\AbstractQuery->execute() at vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:765Doctrine\ORM\AbstractQuery->getOneOrNullResult() at vendor/oro/platform/src/Oro/Bundle/ConfigBundle/Entity/Repository/ConfigRepository.php:25Oro\Bundle\ConfigBundle\Entity\Repository\ConfigRepository->findByEntity() at vendor/oro/platform/src/Oro/Bundle/ConfigBundle/Config/AbstractScopeManager.php:399Oro\Bundle\ConfigBundle\Config\AbstractScopeManager->loadStoredSettings() at vendor/oro/platform/src/Oro/Bundle/ConfigBundle/Config/AbstractScopeManager.php:122Oro\Bundle\ConfigBundle\Config\AbstractScopeManager->getCachedSetting() at vendor/oro/platform/src/Oro/Bundle/ConfigBundle/Config/AbstractScopeManager.php:57Oro\Bundle\ConfigBundle\Config\AbstractScopeManager->getSettingValue() at vendor/oro/platform/src/Oro/Bundle/ConfigBundle/Config/ConfigManager.php:403Oro\Bundle\ConfigBundle\Config\ConfigManager->getValue() at vendor/oro/platform/src/Oro/Bundle/ConfigBundle/Config/ConfigManager.php:113Oro\Bundle\ConfigBundle\Config\ConfigManager->get() at vendor/oro/platform/src/Oro/Bundle/LocaleBundle/Model/LocaleSettings.php:235Oro\Bundle\LocaleBundle\Model\LocaleSettings->getLocale() at vendor/oro/customer-portal/src/Oro/Bundle/FrontendBundle/Model/LocaleSettings.php:123Oro\Bundle\FrontendBundle\Model\LocaleSettings->getLocale() at vendor/oro/customer-portal/src/Oro/Bundle/FrontendBundle/Model/LocaleSettings.php:123Oro\Bundle\FrontendBundle\Model\LocaleSettings->getLocale() at vendor/oro/platform/src/Oro/Bundle/LocaleBundle/EventListener/LocaleListener.php:113Oro\Bundle\LocaleBundle\EventListener\LocaleListener->onConsoleCommand() at vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:111Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() at vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:140Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() at vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:968Symfony\Component\Console\Application->doRunCommand() at vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:86Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:248Symfony\Component\Console\Application->doRun() at vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:74Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:148Symfony\Component\Console\Application->run() at bin/console:30that’s a last stand before doing a fresh install so any kind of help would be greatly appreciated
ps : find attached oro_entity_config_field for the corresponding reflection
November 8, 2019 at 2:43 am #40840Max Peri: Thanks for support I still have the same issue..
Andreas: Yep, I tried but it is still the same error. I tried to fix it by deleting some records in db, but it is comming back after every deploy. ON my host it is fine, but when I move the code to development server it happends.November 13, 2019 at 9:51 am #40871After deploy it is required to rebuild all the caches. Usually, we recommend running oro:platform:update command.
- AuthorReplies
The forum ‘OroCommerce’ is closed to new topics and replies.