sohan
sohan

Reputation: 213

Fatal error: Call to a member function extend() on a non-object in /***/***/public_html/lib/Varien/Simplexml/Config.php on line 600

Fatal error: Call to a member function extend() on a non-object in /***/***/public_html/lib/Varien/Simplexml/Config.php on line 600

I'm getting this issue while i move magento website from localhost to live server. I have followed all steps to move. It is working great on local but having mentioned issue on live server. i have checked all files and folder permissions are 755, 644.

After search couples of day nothing solution found. please help me to fix this. Magento ver. is 1.9.0.1, php ver. 5.4

function on line 600 in config.php is

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

i would really appreciate your support.

Thank you.

Upvotes: 3

Views: 3950

Answers (2)

dandlweb
dandlweb

Reputation: 11

I've experienced the same error as above when installing the SoftProdigy "Enhanced Order Delivery Date" extension.

This specific instance was easily reslved to heading to app/etc and renaming the folder from Softprodigy_Deliverydate.xml to Softprodigy_Deliverydate.

Both front and back office available again following the renaming.

I hope this helps!

Upvotes: 1

Elavarasan
Elavarasan

Reputation: 2669

The problem is the magneto can't read your xml files. So check file permission again for xml files and check your xml files under app/etc folder and every custom modules under app/code/local/ may be some xml files are corrupted (miss formed).

Upvotes: 3

Related Questions