DragonByte Tech
Well-known member
In
Which causes this block of code to fail:
Since
Fillip
\XF\Import\Data\AbstractEntityData
you have this function:
PHP:
protected function write($oldId)
{
$this->entity->save();
}
Which causes this block of code to fail:
PHP:
try
{
$newId = $this->write($oldId);
if ($newId !== false)
{
if ($oldId !== false && $this->log)
{
$this->dataManager->log($this->getImportType(), $oldId, $newId);
}
$this->postSave($oldId, $newId);
}
}
Since
NULL
!== false
, it will log a blank string for new_id
in the log table, and cause every postSave
action to fail.Fillip