Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Passed variable is not an array or object
 
laccas
Member
 
Total Posts:  39
Joined:  2010-08-08
 

After upgrading from 1.4.2 to 1.7.2 I’m facing this issue on my test server:

Warningcurrent() [function.current]Passed variable is not an array or object  in /www/matracsztar.evallalkozo.hu/www/app/code/core/Mage/Core/Model/Config.php on line 274

Notice
Trying to get property of non-object  in /www/matracsztar.evallalkozo.hu/www/app/code/core/Mage/Core/Model/Config.php on line 1227

#0 /www/matracsztar.evallalkozo.hu/www/app/code/core/Mage/Core/Model/Config.php(1227): mageCoreErrorHandler(8, 'Trying to get p...', '/www/matracszta...', 1227, Array)
#1 /www/matracsztar.evallalkozo.hu/www/app/code/core/Mage/Core/Model/Config.php(1328): Mage_Core_Model_Config->getGroupedClassName('model', 'core/url')
#2 /www/matracsztar.evallalkozo.hu/www/app/code/core/Mage/Core/Model/Config.php(1345): Mage_Core_Model_Config->getModelClassName('core/url')
#3 /www/matracsztar.evallalkozo.hu/www/app/Mage.php(462): Mage_Core_Model_Config->getModelInstance('core/url', Array)
#4 /www/matracsztar.evallalkozo.hu/www/app/Mage.php(393): Mage::getModel('core/url')
#5 /www/matracsztar.evallalkozo.hu/www/app/Mage.php(699): Mage::getUrl('install')
#6 /www/matracsztar.evallalkozo.hu/www/index.php(80): Mage::run('', 'store')
#7 {main}

I’ve tried to rename the local.xml and config.xml files to get the Magento Installer, but it also won’t work! Maybe some server configuration is missing?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Romkachaos
Sr. Member
 
Avatar
Total Posts:  84
Joined:  2010-01-04
KHARKOV
 

Must be permissions.

http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top