Wenn beim Update folgender Fehler auftritt:
Zu unterst in der Datei /update/updates/{VERSION}/cx_files/lib/doctrine/Doctrine/ORM/Mapping/ClassMetadata.php folgende Funktion:
public function newInstance() { .... } |
mit diesem Code ersetzten:
public function newInstance() { if ($this->_prototype === null) { $prototype = unserialize(sprintf('O:%d:"%s":0:{}', strlen($this->name), $this->name)); // fix: see https://github.com/doctrine/doctrine2/pull/1045 if (!is_object($prototype)) { $prototype = $this->reflClass->newInstanceWithoutConstructor(); } $this->_prototype = $prototype; } return clone $this->_prototype; } |
Danach kann das Update erneut ausgeführt werden.