cancel
Showing results for 
Search instead for 
Did you mean: 

Error after upgrade to 2.3.2

Error after upgrade to 2.3.2

Hello,

 

after upgrading on my local copy of M2 I need to made some database updates (Primarykey, default values from update_at).

 

Now the scripts and build running fine .. but an error at front end:

1 exception(s):
Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'container', attribute 'htmlClass': [facet 'pattern'] The value 'content.home' is not accepted by the pattern '[a-zA-Z][a-zA-Z\d\-_]*(\s[a-zA-Z][a-zA-Z\d\-_]*)*'.
Line: 1040

Element 'container', attribute 'htmlClass': 'content.home' is not a valid value of the atomic type 'htmlClassType'.
Line: 1040


Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'container', attribute 'htmlClass': [facet 'pattern'] The value 'content.home' is not accepted by the pattern '[a-zA-Z][a-zA-Z\d\-_]*(\s[a-zA-Z][a-zA-Z\d\-_]*)*'.
Line: 1040

Element 'container', attribute 'htmlClass': 'content.home' is not a valid value of the atomic type 'htmlClassType'.
Line: 1040

<pre>#1 Magento\Framework\Config\Dom->__construct('<layout xmlns:xs...', &Magento\Framework\App\Arguments\ValidationState#000000006baa7de100000000444e1876#, array(), NULL, '/var/www/html/ve...', '%message%\nLine: ...') called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:116]
#2 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewor...', array('<layout xmlns:xs...', &Magento\Framework\App\Arguments\ValidationState#000000006baa7de100000000444e1876#, array(), NULL, '/var/www/html/ve...', '%message%\nLine: ...')) called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#3 Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Framewor...', array('xml' => '<layout xmlns:xs...', 'schemaFile' => '/var/www/html/ve...', 'validationState' => &Magento\Framework\App\Arguments\ValidationState#000000006baa7de100000000444e1876#)) called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#4 Magento\Framework\ObjectManager\ObjectManager->create('Magento\Framewor...', array('xml' => '<layout xmlns:xs...', 'schemaFile' => '/var/www/html/ve...', 'validationState' => &Magento\Framework\App\Arguments\ValidationState#000000006baa7de100000000444e1876#)) called at [vendor/magento/framework/Config/DomFactory.php:43]
#5 Magento\Framework\Config\DomFactory->createDom(array('xml' => '<layout xmlns:xs...', 'schemaFile' => '/var/www/html/ve...', 'validationState' => &Magento\Framework\App\Arguments\ValidationState#000000006baa7de100000000444e1876#)) called at [vendor/magento/framework/View/Model/Layout/Update/Validator.php:141]
#6 Magento\Framework\View\Model\Layout\Update\Validator->isValid('<layout xmlns:xs...', 'layout_merged', false) called at [vendor/magento/framework/View/Model/Layout/Merge.php:494]
#7 Magento\Framework\View\Model\Layout\Merge->_validateMergedLayout('LAYOUT_frontend_...', '<body>\n   <refer...') called at [vendor/magento/framework/View/Model/Layout/Merge.php:470]
#8 Magento\Framework\View\Model\Layout\Merge->load() called at [vendor/magento/framework/View/Layout/Builder.php:86]
#9 Magento\Framework\View\Layout\Builder->loadLayoutUpdates() called at [vendor/magento/framework/View/Layout/Builder.php:63]
#10 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Layout.php:253]
#11 Magento\Framework\View\Layout->build() called at [vendor/magento/framework/View/Layout.php:875]
#12 Magento\Framework\View\Layout->getBlock('page_content_hea...') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:414]
#13 Magento\Framework\View\Layout\Interceptor->getBlock('page_content_hea...') called at [vendor/magento/module-cms/Helper/Page.php:171]
#14 Magento\Cms\Helper\Page->prepareResultPage(&Magento\Cms\Controller\Index\Index\Interceptor#000000006baa790c00000000444e1876#, 'bigone-4-digital...') called at [vendor/magento/module-cms/Controller/Index/Index.php:74]
#15 Magento\Cms\Controller\Index\Index->execute() called at [vendor/magento/framework/App/Action/Action.php:108]
#16 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#17 Magento\Cms\Controller\Index\Index\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#18 Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [app/code/Bss/Paymentshipping/Plugin/App/Action/Context.php:81]
#19 Bss\Paymentshipping\Plugin\App\Action\Context->aroundDispatch(&Magento\Cms\Controller\Index\Index\Interceptor#000000006baa790c00000000444e1876#, &Closure#000000006baa7efb00000000444e1876#, &Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#20 Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [app/code/Magedelight/Customerprice/Plugin/App/Action/Context.php:53]
#21 Magedelight\Customerprice\Plugin\App\Action\Context->aroundDispatch(&Magento\Cms\Controller\Index\Index\Interceptor#000000006baa790c00000000444e1876#, &Closure#000000006baa7efb00000000444e1876#, &Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#22 Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#23 Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#), NULL) called at [generated/code/Magento/Cms/Controller/Index/Index/Interceptor.php:26]
#24 Magento\Cms\Controller\Index\Index\Interceptor->dispatch(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/App/FrontController.php:159]
#25 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#, &Magento\Cms\Controller\Index\Index\Interceptor#000000006baa790c00000000444e1876#) called at [vendor/magento/framework/App/FrontController.php:99]
#26 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#27 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#28 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:94]
#29 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#000000006baa784600000000444e1876#, &Closure#000000006baa782100000000444e1876#, &Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#30 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:69]
#31 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#000000006baa784600000000444e1876#, &Closure#000000006baa782100000000444e1876#, &Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#32 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#33 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#), NULL) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]
#34 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#000000006baa7d5c00000000444e1876#) called at [vendor/magento/framework/App/Http.php:137]
#35 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]
#36 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000006baa7da300000000444e1876#) called at [index.php:39]
</pre>
2 REPLIES 2

Re: Error after upgrade to 2.3.2

The provided error shows that either your custom theme's or your third party extension is using "content.home" as container's htmlClass. The '.' is not allowed in class name you can either use "content_home" or "content-home" or "content home" and rewrite the css on the basis of provided class.

If it helps you please accept it as solution.

Thank you.

 

Re: Error after upgrade to 2.3.2

Hello @hanhoe ,

If our suggestion helps you, please give us kudos and accept it as solution.

If still you are facing any error, please let us know the exact error so that we can check.

Thank you