I install magento 1.9.0.0 and copy htdocts to my xampp, when I run localhost / magento, this error shows I made decisions, but it did not work.
Fatal error: Call to a member function getModelInstance() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/magento/app/Mage.php on line 463
Here is the script code:
public static function getModel($modelClass = '', $arguments = array()) { return self::getConfig()->getModelInstance($modelClass, $arguments); }
php fatal-error magento
user3728443
source share