Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/sbboke.com/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:409) in /www/wwwroot/sbboke.com/wp-content/themes/pacify/content-single.php on line 5

Magento2 错误提示Object DOMDocument should be created

错误日志:

1 a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:7698:"#0 D:\www\prince\prince-dev\vendor\magento\framework\View\Element\UiComponent\Config\Reader.php(95): Magento\Framework\View\Element\UiComponent\Config\DomMerger->getDom()

原因:

Layout中的某个Block没有找到指定的Class,或者说指定的Class不存在

解决方案:

新增对应于这个Block的Class,或者从Layout中删除Block节点

相关文章

0 0 投票数
文章评分
订阅评论
提醒
0 评论
内联反馈
查看所有评论