在 Magento 中,我们刚刚上线了一个新网站,无法在后端创建订单
点击“创建新订单”按钮后,您将进入客户列表,但由于 JS 错误,您无法选择客户
Uncaught TypeError: Cannot call method 'select' of null configure.js:74
ProductConfigure._initWindowElements configure.js:74
ProductConfigure.initialize configure.js:57
klass prototype.js:101
(anonymous function) configure.js:764
_createResponder.responder
Uncaught TypeError: Cannot read property 'callback' of null sales.js:1214
OrderFormArea.initialize sales.js:1214
klass prototype.js:101
(anonymous function) sales.js:48
(anonymous function) prototype.js:391
_createResponder.responder
该功能在测试站点上运行良好,两者之间的唯一区别是缓存,我尝试过刷新等,但没有解决问题
最佳答案
这最终归结为旧的 PHP 版本
旧服务器运行 PHP 5.2.17
升级至5.4.15
发现这是新旧服务器之间唯一的不同
关于javascript - 由于 JS 错误,Magento 无法在管理中创建订单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16215770/