我们正在将Magento网站迁移到新的托管平台。移动所有文件并对模板XML进行一些更改后,该站点的前端现在可以按预期工作。
但是,当登录到后端时,我们收到以下错误:
Exception #0 (UnexpectedValueException): Package craftyclicks/module-ukpostcodelookup's source key should be specified as {"type": ..., "url": ..., "reference": ...},
{"type":"git","url":"https:\/\/github.com\/craftyclicks\/magento2-ukpostcodelookup.git","reference":null} given.
我已经按照建议的here安装了MDVA-532补丁,但无济于事。奇怪的是,当前形式的站点正在另一台运行EasyApachePHP4的服务器上运行。谁能建议修复程序?
作为参考,这是我们的composer.lock
文件中相关区域的副本:
{
"name": "craftyclicks/module-ukpostcodelookup",
"version": "1.0.11",
"source": {
"type": "git",
"url": "https://github.com/craftyclicks/magento2-ukpostcodelookup.git",
"reference": ""
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/craftyclicks/magento2-ukpostcodelookup/zipball/",
"reference": "",
"shasum": "18da5c12868d070721bc3113a8fbf0f32ac21358"
},
"require": {
"php": "~5.5.0 || ~5.6.0 || ^7.0"
},
"type": "magento2-module",
"autoload": {
"files": [
"registration.php"
],
"psr-4": {
"Craftyclicks\\Ukpostcodelookup\\": ""
}
},
"license": [
"MIT"
],
"authors": [
{
"name": "Gabor Peter Suranyi",
"homepage": "https://craftyclicks.co.uk/",
"role": "Developer"
},
{
"name": "Gregory Toth",
"homepage": "https://craftyclicks.co.uk/",
"role": "Developer"
}
],
"description": "Apply postcode lookup to Magento 2."
},