Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to a member function on a non-ob


MikeMike

Recommended Posts

I am getting this error right after choosing my shipping option(UPS XML):

Fatal error: Call to a member function on a non-object in /home/site1/fst/var/www/html/includes/classes/xmldocument.php on line 57

 

This is my xmldocument.php line 55-61:

function getValueByPath($path) {
   $pathArray = split("/", $path);
   if ($pathArray[0] == $this->root->getName()) {
     //print_r("Looking for " . $pathArray[0] . "<br>");
     array_shift($pathArray);
     $newPath = implode("/", $pathArray);
     return $this->root->getValueByPath($newPath);

 

Anyone know what goes wroing??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...