Skip to content

Exception #0 (ReflectionException): Class VesPageBuilderModelConfigSourceElementList does not exist

Magento 2.3.7, PHP 7.4.30

I installed the VES Page Builder extension (downloaded file from land of coder) manually, according to their readme:

Upload module files in the module packages in to folder: app/code/Ves/All, app/code/Ves/Setup, app/code/Ves/BaseWidget, app/code/Ves/PageBuilder

Then run commands

php bin/magento setup:upgrade --keep-generated
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean

It installed fine, but didn’t work.

I wanted to get rid of the extension deleted all files and performed:

php bin/magento setup:upgrade --keep-generated
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean

Now when I want to edit an existing product or create a new product, I get an exception:

1 exception(s):
Exception #0 (ReflectionException): Class VesPageBuilderModelConfigSourceElementList does not exist

Exception #0 (ReflectionException): Class VesPageBuilderModelConfigSourceElementList does not exist

#1 MagentoFrameworkCodeReaderClassReader->getConstructor() called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:54]
#2 MagentoFrameworkObjectManagerDefinitionRuntime->getParameters() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:100]
#3 MagentoFrameworkObjectManagerFactoryCompiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#4 MagentoFrameworkObjectManagerObjectManager->create() called at [vendor/magento/framework/Validator/UniversalFactory.php:36]
#5 MagentoFrameworkValidatorUniversalFactory->create() called at [vendor/magento/module-eav/Model/Entity/Attribute/AbstractAttribute.php:642]
#6 MagentoEavModelEntityAttributeAbstractAttribute->getSource() called at [generated/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute/Interceptor.php:1181]
#7 MagentoCatalogModelResourceModelEavAttributeInterceptor->getSource() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:697]
#8 MagentoCatalogUiDataProviderProductFormModifierEav->setupAttributeMeta() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:408]
#9 MagentoCatalogUiDataProviderProductFormModifierEav->getContainerChildren() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:381]
#10 MagentoCatalogUiDataProviderProductFormModifierEav->addContainerChildren() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:356]
#11 MagentoCatalogUiDataProviderProductFormModifierEav->getAttributesMeta() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php:316]
#12 MagentoCatalogUiDataProviderProductFormModifierEav->modifyMeta() called at [vendor/magento/module-catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php:73]
#13 MagentoCatalogUiDataProviderProductFormProductDataProvider->getMeta() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:318]
#14 MagentoFrameworkViewElementUiComponentFactory->mergeMetadata() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:218]
#15 MagentoFrameworkViewElementUiComponentFactory->create() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:140]
#16 MagentoFrameworkViewLayoutGeneratorUiComponent->generateComponent() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:103]
#17 MagentoFrameworkViewLayoutGeneratorUiComponent->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:81]
#18 MagentoFrameworkViewLayoutGeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:352]
#19 MagentoFrameworkViewLayout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:89]
#20 MagentoFrameworkViewLayoutInterceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]
#21 MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:66]
#22 MagentoFrameworkViewPageBuilder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]
#23 MagentoFrameworkViewLayoutBuilder->build() called at [vendor/magento/framework/View/Layout.php:259]
#24 MagentoFrameworkViewLayout->build() called at [vendor/magento/framework/View/Layout.php:884]
#25 MagentoFrameworkViewLayout->getBlock() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:414]
#26 MagentoFrameworkViewLayoutInterceptor->getBlock() called at [vendor/magento/module-backend/Model/View/Result/Page.php:26]
#27 MagentoBackendModelViewResultPage->setActiveMenu() called at [vendor/magento/module-catalog/Controller/Adminhtml/Product/NewAction.php:72]
#28 MagentoCatalogControllerAdminhtmlProductNewAction->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#29 MagentoFrameworkAppActionAction->dispatch() called at [vendor/magento/module-backend/App/AbstractAction.php:248]
#30 MagentoBackendAppAbstractAction->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#31 MagentoCatalogControllerAdminhtmlProductNewActionInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#32 MagentoCatalogControllerAdminhtmlProductNewActionInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:143]
#33 MagentoBackendAppActionPluginAuthentication->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#34 MagentoCatalogControllerAdminhtmlProductNewActionInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#35 MagentoCatalogControllerAdminhtmlProductNewActionInterceptor->___callPlugins() called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/NewAction/Interceptor.php:26]
#36 MagentoCatalogControllerAdminhtmlProductNewActionInterceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:186]
#37 MagentoFrameworkAppFrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:118]
#38 MagentoFrameworkAppFrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#39 MagentoFrameworkAppFrontControllerInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#40 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#41 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#42 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#43 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#44 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:40]

What I tried:

I deleted:

www/m2/var/cache

www/m2/var/page-cache

www/m2/var/view_preprocessed/pub/static

I also tried:

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
php -d memory_limit=1G bin/magento setup:di:compile
php bin/magento indexer:reindex
php -d memory_limit=1G bin/magento setup:static-content:deploy -f

Any help is appreciated, thanks…