You may have already figured this out, but in case you actually want to fix the error instead of changing the level of error reporting you need to change the following:
// In the plivo.php helper file we're looking at
// the Response class that extends the Element class
// Change the following function from:
public function toXML() {
$xml = parent::toXML($header=TRUE);
return $xml;
}
// To:
public function toXML($header=TRUE) {
$xml = parent::toXML($header);
return $xml;
}
The issue is the childClass::method() has different arguments to the parentClass::method() as outlined in notJim's answer here. Hope that's helpful.