2017-02-14 54 views
-2

我遇到Magento 2.1自定义模块的问题。在加载Magento管理页面时,我在控制台中出现以下错误。未捕获TypeError:无法读取magento 2.1中null属性'select'

configure.js:76 Uncaught TypeError: Cannot read property 'select' of null

+1

可能是一个上线76错误 - 也许使用浏览器的开发者工具去调查 –

+0

嗨@JaromandaX configure.js错误?我如何编辑相同的?我只是写了一个布局文件,并加载它显示错误。你能描述相同的原因吗? – sree

+0

不可以。您没有显示任何代码来检查 –

回答

0

你重写:

vendor/magento/module-catalog/view/adminhtml/templates/catalog/product/composite/configure.phtml 

看来这个文件是试图从那里值:

vendor/magento/module-catalog/view/adminhtml/web/catalog/product/composite/configure.js 

this.blockMsg     = $('product_composite_configure_messages'); 
this.blockMsgError    = this.blockMsg.select('.message.error div')[0]; 
+0

您好@Tim Zwinkels,我包括以下2个PHTML文件 脚本 '' – sree

相关问题