I go to the file in question, and yes, entire lines of code are being duplicated, causing variables/functions to be re-declared. The document.php file is not the only file this happens to. It happens to multiple files under system, admin/controller, and other folders.
Example of document.php after refreshing modifications:
Code: Select all
class Document {
private $image;
private $url;
private $type;
private $price;
private $image;
private $url;
private $type;
private $price;
private $title;
private $description;
private $keywords;
private $links = array();
private $styles = array();
private $scripts = array();
public function setImage($image) {
$this->image = $image;
}
public function getImage() {
return $this->image;
}
public function setUrl($url) {
$this->url = $url;
}
public function getUrl() {
return $this->url;
}
public function setType($type) {
$this->type = $type;
}
public function getType() {
return $this->type;
}
public function setPrice($price) {
$this->price = $price;
}
public function getPrice() {
return $this->price;
}
public function setImage($image) {
$this->image = $image;
}
public function getImage() {
return $this->image;
}
Has anyone seen this issue before? What could be the cause? Using OC v3.0.3.2.