[User Error] Uncaught Exception: String could not be parsed as XML

GET /find-a-dealer/dealer/cromwell-kia-parts-and-service/our-vehicles/?vehicle=2043971

Line 366 in /container/application/public/kia/code/extensions/AutoPlay.php

Source

357 
358     /**
359      *
360      * Replacement for SS's broken RestfulService->getAttributes
361      *
362      * correctly handle no $childElements and no $collection
363      *
364      */
365     public function getAttr($xml, $collection=NULL, $element=NULL){
366         $xml = new SimpleXMLElement( $xml );
367         $output = new ArrayList();
368         $childElements = false;
369 
370         if($collection)
371             $childElements = $xml->{$collection};
372 

Trace