Boa tarde amigos!
Estou fazendo a atualização do ojs 2.4.8.5 para 3.0.2 e da esse erro:
PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /opt/data/html/classes/install/Upgrade.inc.php:1019
Stack trace:
#0 /opt/data/html/lib/pkp/classes/install/Installer.inc.php(415): Upgrade->convertSupplementaryFiles(Object(Upgrade), Array)
#1 /opt/data/html/lib/pkp/classes/install/Installer.inc.php(265): Installer->executeAction(Array)
#2 /opt/data/html/lib/pkp/classes/install/Installer.inc.php(186): Installer->executeInstaller()
#3 /opt/data/html/lib/pkp/classes/cliTool/UpgradeTool.inc.php(88): Installer->execute()
#4 /opt/data/html/lib/pkp/classes/cliTool/UpgradeTool.inc.php(64): UpgradeTool->upgrade()
#5 /opt/data/html/tools/upgrade.php(34): UpgradeTool->execute()
#6 {main}
thrown in /opt/data/html/classes/install/Upgrade.inc.php on line 1019
Fatal error: Uncaught Error: Call to a member function getId() on null in /opt/data/html/classes/install/Upgrade.inc.php:1019
Stack trace:
#0 /opt/data/html/lib/pkp/classes/install/Installer.inc.php(415): Upgrade->convertSupplementaryFiles(Object(Upgrade), Array)
#1 /opt/data/html/lib/pkp/classes/install/Installer.inc.php(265): Installer->executeAction(Array)
#2 /opt/data/html/lib/pkp/classes/install/Installer.inc.php(186): Installer->executeInstaller()
#3 /opt/data/html/lib/pkp/classes/cliTool/UpgradeTool.inc.php(88): Installer->execute()
#4 /opt/data/html/lib/pkp/classes/cliTool/UpgradeTool.inc.php(64): UpgradeTool->upgrade()
#5 /opt/data/html/tools/upgrade.php(34): UpgradeTool->execute()
#6 {main}
thrown in /opt/data/html/classes/install/Upgrade.inc.php on line 1019
em alguns lugares pedem para rodar esse comando:SELECT j.path, j.journal_id FROM journals j LEFT JOIN roles r ON (r.journal_id = j.journal_id AND r.role_id=16) GROUP BY j.journal_id HAVING count(r.role_id) = 0;
apos rodar nao retorna nada ou seja nao tem jornais sem gerentes. alguem sabe resolver?grato!