Hi team,
We have a magento 2 store on which we did initial data migration (NOT using UB data migration pro) and we implemented a theme and made lots of changes. Now we want to do delta migration with UB data migration pro. But when we install ubertheme in this magento 2 store, I am getting the below exception at the front end. Please help as soon as you can.
1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'class': [facet 'pattern'] The value 'about-us' is not accepted by the pattern '[A-Z][_a-zA-Z\d]*(\\[A-Z][_a-zA-Z\d]*)*'. Line: 713 Element 'block', attribute 'class': 'about-us' is not a valid value of the atomic type 'blockClassType'. Line: 713 Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block', attribute 'class': [facet 'pattern'] The value 'about-us' is not accepted by the pattern '[A-Z][_a-zA-Z\d]*(\\[A-Z][_a-zA-Z\d]*)*'. Line: 713 Element 'block', attribute 'class': 'about-us' is not a valid value of the atomic type 'blockClassType'. Line: 713 #0 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Config/Dom.php(115): Magento\Framework\Config\Dom->_initDom('<layout xmlns:x...') #1 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Framework\Config\Dom->__construct('<layout xmlns:x...', Object(Magento\Framework\App\Arguments\ValidationState), Array, NULL, '/home2/aandhcom...', '%message%\nLine:...') #2 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #3 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array) #4 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Config/DomFactory.php(42): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #5 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Model/Layout/Update/Validator.php(141): Magento\Framework\Config\DomFactory->createDom(Array) #6 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Model/Layout/Merge.php(461): Magento\Framework\View\Model\Layout\Update\Validator->isValid('<layout xmlns:x...', 'layout_merged', false) #7 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Model/Layout/Merge.php(442): Magento\Framework\View\Model\Layout\Merge->_validateMergedLayout('LAYOUT_frontend...', '<referenceConta...') #8 /home2/aandhcom/dev.aandh.com.au/aandhcom/generated/code/Magento/Framework/View/Model/Layout/Merge/Interceptor.php(193): Magento\Framework\View\Model\Layout\Merge->load(Array) #9 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Layout/Builder.php(86): Magento\Framework\View\Model\Layout\Merge\Interceptor->load() #10 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Layout/Builder.php(63): Magento\Framework\View\Layout\Builder->loadLayoutUpdates() #11 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Layout.php(254): Magento\Framework\View\Layout\Builder->build() #12 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/View/Layout.php(875): Magento\Framework\View\Layout->build() #13 /home2/aandhcom/dev.aandh.com.au/aandhcom/generated/code/Magento/Framework/View/Layout/Interceptor.php(414): Magento\Framework\View\Layout->getBlock('page_content_he...') #14 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/module-cms/Helper/Page.php(171): Magento\Framework\View\Layout\Interceptor->getBlock('page_content_he...') #15 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/module-cms/Controller/Index/Index.php(43): Magento\Cms\Helper\Page->prepareResultPage(Object(Magento\Cms\Controller\Index\Index\Interceptor), 'porto_home_9') #16 /home2/aandhcom/dev.aandh.com.au/aandhcom/generated/code/Magento/Cms/Controller/Index/Index/Interceptor.php(24): Magento\Cms\Controller\Index\Index->execute(NULL) #17 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/App/Action/Action.php(107): Magento\Cms\Controller\Index\Index\Interceptor->execute() #18 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #19 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Cms\Controller\Index\Index\Interceptor->___callParent('dispatch', Array) #20 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #21 /home2/aandhcom/dev.aandh.com.au/aandhcom/generated/code/Magento/Cms/Controller/Index/Index/Interceptor.php(39): Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array) #22 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/App/FrontController.php(55): Magento\Cms\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #23 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #24 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #25 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #26 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #27 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #28 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #29 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #30 /home2/aandhcom/dev.aandh.com.au/aandhcom/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL) #31 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #32 /home2/aandhcom/dev.aandh.com.au/aandhcom/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #33 /home2/aandhcom/dev.aandh.com.au/aandhcom/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch() #34 /home2/aandhcom/dev.aandh.com.au/aandhcom/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #35 {main}
-
Magento version: 2.2.4Theme: PortoI tried the other way as well, still getting the same exception.I migrated the data first and then installed the theme, still the same above mentioned output when I load the front end. It will be of great help if you guys can help me sort this out!Thanks!
1 answer
Hi there.
We have a magento 2 store on which we did initial data migration (NOT using UB data migration pro) and we implemented a theme and made lots of changes. Now we want to do delta migration with UB data migration pro.
We’re afraid the delta migration under this circumstance is not possible since you used a 3rd party module in your first migration.
If you still want to install our UB Data Migration Pro into this M2 instance, you will need to proceed migration again from the ground up.
Please note it’s not possible to use the ‘Keep Original IDs’ setting in this case, as explained in this article.
Regards,
Ubertheme team