Closed wiistriker closed 10 years ago
$this->backupService created only if use_backup option set:
https://github.com/vipsoft/DoctrineDataFixturesExtension/blob/master/src/VIPSoft/DoctrineDataFixturesExtension/Service/FixtureService.php#L63-66
but https://github.com/vipsoft/DoctrineDataFixturesExtension/blob/master/src/VIPSoft/DoctrineDataFixturesExtension/Service/FixtureService.php#L418 dont check that $this->backupService is not null. So it ends with following error:
Call to a member function hasBackup() on a non-object
Thanks.
$this->backupService created only if use_backup option set:
https://github.com/vipsoft/DoctrineDataFixturesExtension/blob/master/src/VIPSoft/DoctrineDataFixturesExtension/Service/FixtureService.php#L63-66
but https://github.com/vipsoft/DoctrineDataFixturesExtension/blob/master/src/VIPSoft/DoctrineDataFixturesExtension/Service/FixtureService.php#L418 dont check that $this->backupService is not null. So it ends with following error:
Call to a member function hasBackup() on a non-object