cancel
Showing results for 
Search instead for 
Did you mean: 

( ! ) Fatal error: Call to a member function extend() on a non-object

( ! ) Fatal error: Call to a member function extend() on a non-object

A Magento production server is running on Linux. I'd like to download and run this as a development server on Windows 7 / WAMPserver.

 

I've copied files and database, and created a vhost.conf & hosts entry, and when I load the website on my localhost, I receive:

 

( ! ) Fatal error: Call to a member function extend() on a non-object in D:\wamp\www\axis\lib\Varien\Simplexml\Config.php on line 600

 

I downloaded a copy of Magento Community 1.9.1, and copied files over the top of the localhost files, but the error remains.

 

What can I do?

2 REPLIES 2

Re: ( ! ) Fatal error: Call to a member function extend() on a non-object

This is config.php from line 598:

 

    public function extend(Varien_Simplexml_Config $config, $overwrite=true)
    {
        $this->getNode()->extend($config->getNode(), $overwrite);
        return $this;
    }

Re: ( ! ) Fatal error: Call to a member function extend() on a non-object

Did you try cache clear ( magento root folder/var/cache/* /var/log/* )?