当我尝试访问 magento admin 中的 System > Configuration > Advanced > System 选项卡时,它给了我以下错误:
Notice: Trying to get property of non-object in /app/code/core/Mage/Adminhtml/Block/System/Config/Form.php on line 526
#0 /app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(526): mageCoreErrorHandler(8,'Trying to get p...', '/app/code/c...', 526, Array)
#1 [internal function]: Mage_Adminhtml_Block_System_Config_Form->_sortForm('1', 'text')
#2 /app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(266): usort(Array, Array)
#3 /app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(210): Mage_Adminhtml_Block_System_Config_Form->initFields(Object(Varien_Data_Form_Element_Fieldset), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))
#4 /app/code/core/Mage/Adminhtml/Block/System/Config/Edit.php(92): Mage_Adminhtml_Block_System_Config_Form->initForm()
#5 /app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(102): Mage_Adminhtml_Block_System_Config_Edit->initForm()
#6 /app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Adminhtml_System_ConfigController->editAction()
#7 /app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#8 /app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#9 /app/code/local/Mage/Core/Model/App.php(348): Mage_Core_Controller_Varien_Front->dispatch()
#10 /app/Mage.php(640): Mage_Core_Model_App->run(Array)
#11 index.php(80): Mage::run('', 'store')
#12 {main}
我尝试验证源文件,但源代码没有变化。提前致谢。
谢谢,基米