Upgrade to OJS 3.0 from 2.4.8.0 - Error while converting supplementary files

Hi,

I get the same error upgrading from 2.4.8.2 to 3.0.2.

[code: Installer Installer::convertSupplementaryFiles]
PHP Fatal error:  Call to a member function getId() on null in /pathToOjs/classes/install/Upgrade.inc.php on line 1019

1013			$row = $suppFilesResult->getRowAssoc(false);
1014			$suppFilesResult->MoveNext();
1015			if (!$journal || $journal->getId() != $row['context_id']) {
1016				$journal = $journalDao->getById($row['context_id']);
1017				$managerUserGroup = $userGroupDao->getDefaultByRoleId($journal->getId(), ROLE_ID_MANAGER);
1018				$managerUsers = $userGroupDao->getUsersById($managerUserGroup->getId(), $journal->getId());
1019				$creatorUserId = $managerUsers->next()->getId();
1020			}

I work with the current ojs-stable-3_0_2 branch and I’ve checked all suggestions in this topic, but I still get the error.

@Tarcisio_Pereira Do you resolve this issue?

Someone can help me?

Many thanks
Giuseppe

2 Likes