几周前,我的服务器崩溃了,没有真正的备份,所以一切都必须手动恢复。其中之一是 Magento 商店。我已经恢复了所有文件和数据库,但是现在当我尝试通过结帐过程进行测试时,我得到了错误。
我可以在结帐时单击注册,然后当我在结帐页面上单击“继续”时,我会收到“正在加载下一步”消息,然后在尝试访问 saveBilling 页面时 Chrome 网络检查器中出现某种 AJAX 错误。错误如下所示:
Notice: Undefined variable: nameGroupAttribute in /var/www/vhosts/mysite.com/httpdocs/app/code/local/Amasty/Customerattr/Model/Rewrite/Checkout/Type/Onepage.php on line 41
#0 /var/www/vhosts/mysite.com/httpdocs/app/code/local/Amasty/Customerattr/Model/Rewrite/Checkout/Type/Onepage.php(41): mageCoreErrorHandler(8, 'Undefined varia...', '/var/www/vhosts...', 41, Array)
#1 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Checkout/controllers/OnepageController.php(307): Amasty_Customerattr_Model_Rewrite_Checkout_Type_Onepage->saveBilling(Array, false)
#2 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Checkout_OnepageController->saveBillingAction()
#3 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveBilling')
#4 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#5 /var/www/vhosts/mysite.com/httpdocs/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#6 /var/www/vhosts/mysite.com/httpdocs/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#7 /var/www/vhosts/mysite.com/httpdocs/index.php(85): Mage::run('', 'store')
#8 {main}
我已经搜索了我能想到的所有可能的单词组合,但都是空的。这个网站是在我到达这家公司之前建立的,所以我不知道是否有任何不应该改变的地方。我所知道的是该站点在服务器关闭之前正在运行,现在这部分不起作用。
谢谢你的帮助!