我安裝了珍珠主題2.3x,安裝后做了配置,然后我得到了這個錯誤,我不能理解這個問題,請幫助我解決這個問題。
我使用的是Cloudflare服務器,作業系統是Debian gnu Linux 9,Magento版本是2.3
。Issue
1個例外(s)。例外#0 (MagentoFrameworkConfigDomValidationException)。元素'font'。 這個元素不在預期之內。預期是( title, css, link, meta, script, remove, attribute )之一。行:1285元素'字體'。這個元素不被期待。預期的是其中一個 ( title, css, link, meta, script, remove, attribute )之一。行:1293
例外#0 (customer)
例外#0(MagentoFrameworkConfigDomValidationException)。 元素'字體'。這個元素不被期待。預期的是其中一個( title, css, link, meta, script, remove, attribute )之一。行:1285
元素'字體'。這個元素不被期待。預期的是其中一個 ( title, css, link, meta, script, remove, attribute )。行:1293
#1 MagentoFrameworkConfigDom->__construct('createObject('MagentoFramewor...', array('create('MagentoFramewor...'。 陣列('xml' => ' '/mnt/data/home/2...', 'validationState' => &MagentoFrameworkAppArgumentsValidationState#000000003e5a6782000000001b0cec1a#)) 呼叫在 [vendor/magento/framework/ObjectManager/ObjectManager.php:56]呼叫。 #4 MagentoFrameworkObjectManagerObjectManager->create('MagentoFramewor...'。 陣列('xml' => ' '/mnt/data/home/2...', 'validationState' => &MagentoFrameworkAppArgumentsValidationState#000000003e5a6782000000001b0cec1a#)) 在[vendor/magento/framework/Config/DomFactory.php:43]呼叫。 #5 MagentoFrameworkConfigDomFactory->createDom(array('xml' => ' '/mnt/data/home/2...'。 'validationState' => &MagentoFrameworkAppArgumentsValidationState#000000003e5a6782000000001b0cec1a#)) 呼叫在 [vendor/magento/framework/View/Model/Layout/Update/Validator.php:141] 被呼叫。 #6 MagentoFrameworkViewModelLayoutUpdateValidator->isValid('_validateMergedLayout('LAYOUT_frontend_...'。 ' 在[vendor/magento/framework/View/Layout/Builder.php:86]呼叫load()。 #9 MagentoFrameworkViewLayoutBuilder->loadLayoutUpdates()在[vendor/magento/framework/View/Layout/Builder.php:63]呼叫。 #10 MagentoFrameworkViewLayoutBuilder->build() called at [vendor/magento/framework/View/Layout.php:253] #11 MagentoFrameworkViewLayout->build()在[vendor/magento/framework/View/Layout.php:875]呼叫。 #12 MagentoFrameworkViewLayout->getBlock('page_content_hea...')在[vendor/magento/module-cms/Helper/Page.php:171]呼叫。 #13 MagentoCmsHelperPage->pareResultPage(&MagentoCmsControllerIndexIndexInterceptor#000000003e5a65a2000000001b0cec1a#, 'vaanyard-applied...')在以下位置呼叫 [vendor/magento/module-cms/Controller/Index/Index.php:74] 呼叫。 #14 MagentoCmsControllerIndexIndex->execute()在[vendor/magento/framework/App/Action/Action.php:108]呼叫。 #15 MagentoFrameworkAppActionAction->dispatch(&MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#) 在[vendor/magento/framework/Interception/Interceptor.php:58]呼叫。 #16 MagentoCmsControllerIndexIndexInterceptor->__callParent('dispatch', array(&MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#)) 在[vendor/magento/framework/Interception/Interceptor.php:138]呼叫。 #17 MagentoCmsControllerIndexIndexInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在[vendor/magento/framework/Interception/Interceptor.php:153]處呼叫。 #18 MagentoCmsControllerIndexIndexInterceptor->__callPlugins('dispatch', array(&MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#), array(array('designLoader', 'customerNotifica...' 。 'catalog_app_acti...', 'tax-app-action-d...', 'wee-app-action-...' 。 'storeCheck', 'contextPlugin', 'customer-app-act...'))在以下位置呼叫 [generated/code/Magento/Cms/Controller/Index/Index/Interceptor.php:26]呼叫。 #19 MagentoCmsControllerIndexIndexInterceptor->dispatch(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在[vendor/magento/framework/App/FrontController.php:159]處呼叫。 #20 MagentoFrameworkAppFrontController->processRequest(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#, &MagentoCmsControllerIndexIndexInterceptor#000000003e5a65a2000000001b0cec1a#) 在[vendor/magento/framework/App/FrontController.php:99]處呼叫。 #21 MagentoFrameworkAppFrontController->dispatch(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在[vendor/magento/framework/Interception/Interceptor.php:58]處呼叫。 #22 MagentoFrameworkAppFrontControllerInterceptor->__callParent('dispatch', array(&MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#)) 在[vendor/magento/framework/Interception/Interceptor.php:138]呼叫。 #23 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在 [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:94]呼叫。 #24 MagentoStoreAppFrontControllerPluginRequestPreprocessor->roundDispatch(&MagentoFrameworkAppFrontControllerInterceptor#000000003e5a662e000000001b0cec1a#, &Closure#000000003e5a67cd000000001b0cec1a#, &MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#) 在[vendor/magento/framework/Interception/Interceptor.php:135]呼叫。 #25 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在 [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]呼叫。 #26 MagentoPageCacheModelAppFrontControllerBuiltinPlugin->roundDispatch(&MagentoFrameworkAppFrontControllerInterceptor#000000003e5a662e000000001b0cec1a#, &Closure#000000003e5a67cd000000001b0cec1a#, &MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#) 在[vendor/magento/framework/Interception/Interceptor.php:135]呼叫。 #27 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在[vendor/magento/framework/Interception/Interceptor.php:153]處呼叫。 #28 MagentoFrameworkAppFrontControllerInterceptor->__callPlugins('dispatch', array(&MagentoFrameworkAppRequestHttp#000000003e5a66a0000000001b0cec1a#), NULL)呼叫,在 [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]呼叫。 #29 MagentoFrameworkAppFrontControllerInterceptor->dispatch(&MagentoFrameworkAppRequestHttp#000000003e5a66a000001b0cec1a#) 在[vendor/magento/framework/App/Http.php:137]呼叫。 #30 在 [vendor/magento/framework/App/Bootstrap.php:261] 呼叫MagentoFrameworkAppHttp->launch() #31 MagentoFrameworkAppBootstrap->run(&MagentoFrameworkAppHttpInterceptor#000000003e5a665f000000001b0cec1a#) 在[1010.php:39]處呼叫。
uj5u.com熱心網友回復:
似乎在你的一個布局xml檔案的頭塊中,有一個非法的'字體'元素存在。
檢查你的布局xml檔案。特別是header_default_block.xml檔案,基本上所有的xml檔案都有類似'<font'的東西。如果它在那里,那么就把它洗掉,然后看看。可能你必須重新生成靜態內容。
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/320587.html
標籤:
