gpt4 book ai didi

magento - fatal error : Call to a member function toOptionArray() on a non-object in Magento admin

转载 作者:行者123 更新时间:2023-12-04 05:01:58 36 4
gpt4 key购买 nike

当我点击 Magento system->configuration->SALES 选项卡下的 Shipping Methods 选项卡时,我遇到以下错误:

Fatal error: Call to a member function toOptionArray() on a non-object in D:\xampp\htdocs\magento\app\code\core\Mage\Adminhtml\Block\System\Config\Form.php on line 463



最令人震惊的是,这是 Magento 的全新安装。谁能告诉我如何消除这个错误?

最佳答案

添加到 config.xml

<global>
<models>
<stockindicator>
<class>Namespace_ModuleName_Model</class>
</stockindicator>
</models>
</global>

关于magento - fatal error : Call to a member function toOptionArray() on a non-object in Magento admin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16053666/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com