Magento Fatal error: Call to a member function extend()

Discussion in 'Content Management' started by jhashan, Oct 19, 2014.

  1. #1
    Hi recently I moved a magento site to new server but I am getting this error

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

    On line 600 $this->getNode()->extend($config->getNode(), $overwrite);

    any one can give me some suggestion?
     
    jhashan, Oct 19, 2014 IP
  2. jslirola

    jslirola Active Member

    Messages:
    39
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    58
    #2
    http://magento.stackexchange.com/questions/19345/call-to-a-member-function-extend-on-a-non-object/19347#19347
    I hope will be useful for you
     
    jslirola, Oct 19, 2014 IP
  3. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #3
    That can be as simple as a permission error really. I would probably have to take a look at a few things though.

    Its likely you messed up the config file and its malformed now.
    Though, I have seen alot of this lately. I think godaddy upgraded the shared environments. I keep having to fix things for folks that are going to or from a fast CGI setup.

    N.
     
    Last edited: Oct 19, 2014
    Nigel Lew, Oct 19, 2014 IP
  4. HassanKhalid

    HassanKhalid Active Member

    Messages:
    158
    Likes Received:
    6
    Best Answers:
    4
    Trophy Points:
    90
    #4
    its php version with new host.
     
    HassanKhalid, Oct 19, 2014 IP
  5. jhashan

    jhashan Well-Known Member

    Messages:
    246
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Hi, I tried many other option but not working.

    some more info
    Its a old magento installation 1.5
    Old server was PHP 5.3 but new server is PHP 5.4
     
    jhashan, Oct 20, 2014 IP