zoukankan      html  css  js  c++  java
  • [整理]Magento2 开发中遇到的错误以及解决方案

    下面记录了一些我在二次开发Magento2是所遇到的错误、错误原因以及解决方案:

    1. Object DOMDocument should be created

    type: report

    日志摘要:

    1 a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:7698:"#0 D:wwwprinceprince-devvendormagentoframeworkViewElementUiComponentConfigReader.php(95): MagentoFrameworkViewElementUiComponentConfigDomMerger->getDom()
    2 #1 D:wwwprinceprince-devvendormagentomodule-uiModelManager.php(258): MagentoFrameworkViewElementUiComponentConfigReader->read()
    3 #2 D:wwwprinceprince-devvendormagentomodule-uiModelManager.php(166): MagentoUiModelManager->prepare('bcn_news_edit_t...')
    4 #3 D:wwwprinceprince-devvendormagentoframeworkViewElementUiComponentFactory.php(144): MagentoUiModelManager->prepareData('bcn_news_edit_t...')
    5 #4 D:wwwprinceprince-devvendormagentoframeworkViewLayoutGeneratorUiComponent.php(124): MagentoFrameworkViewElementUiComponentFactory->create('bcn_news_edit_t...', NULL, Array)

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

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

    如果您觉得阅读本文对您有帮助,欢迎转载本文,但是转载文章之后必须在文章页面明显位置保留此段声明,否则保留追究法律责任的权利。

    作  者:blog.jpdou.top

    原文链接:http://blog.jpdou.top/bugs-in-magento2-dev/

  • 相关阅读:
    牛客网-求和
    牛客网-删除公共字符
    牛客网-字符串中找出连续最长的数字串(好未来)
    牛客网-求数列的和(挖财)
    牛客网-树的高度(小米)
    牛客网-藏宝图(网易)
    【Python学习笔记】
    php平滑升级
    Nginx平滑升级
    linux下线刷硬盘
  • 原文地址:https://www.cnblogs.com/jpdoutop/p/Bugs-in-Magento2-Dev.html
Copyright © 2011-2022 走看看