Upgrade stuck from 3.4.0-8 to 3.5.0-1

Describe the issue or problem
When I upgrade my OJS from 3.4.0-8 to 3.5.0-1, I stuck in process I9425_SeparateUIAndSubmissionLocales

What application are you using?
Database: Prostgresql 14.3
PHP 8.4

Additional information
Missing locale key “validation.attributes” for the locale “en”
Missing locale key “validation.values.reviewAssignmentId.” for the locale “en”
2025-08-15 10:09:35 [migration: PKP\migration\upgrade\v3_5_0\I9253_SiteAnnouncements]
2025-08-15 10:09:35 [migration: PKP\migration\upgrade\v3_5_0\I9262_Highlights]
2025-08-15 10:09:35 [migration: APP\migration\upgrade\v3_5_0\I9475_RecoverLayoutFiles]
2025-08-15 10:09:35 [migration: PKP\migration\upgrade\v3_5_0\I9462_UserUserGroupsStartEndDate]
2025-08-15 10:09:35 [migration: PKP\migration\upgrade\v3_5_0\I9552_UserGroupsMasthead]
2025-08-15 10:09:35 [migration: PKP\migration\upgrade\v3_5_0\I5504_UserGroupsSettings]
2025-08-15 10:09:35 [migration: APP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales]
PHP Warning: Undefined array key 0 in /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 1894
PHP Fatal error: Uncaught TypeError: PKP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales::{closure:PKP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales::up():60}(): Return value must be of type array, null returned in /var/www/html/lib/pkp/classes/migration/upgrade/v3_5_0/I9425_SeparateUIAndSubmissionLocales.php:64
Stack trace:
#0 /var/www/html/lib/pkp/classes/migration/upgrade/v3_5_0/I9425_SeparateUIAndSubmissionLocales.php(76): PKP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales->{closure:PKP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales::up():60}()
#1 /var/www/html/lib/pkp/classes/install/Installer.php(445): PKP\migration\upgrade\v3_5_0\I9425_SeparateUIAndSubmissionLocales->up()
#2 /var/www/html/lib/pkp/classes/install/Installer.php(298): PKP\install\Installer->executeAction()
#3 /var/www/html/lib/pkp/classes/install/Installer.php(207): PKP\install\Installer->executeInstaller()
#4 /var/www/html/lib/pkp/classes/cliTool/UpgradeTool.php(97): PKP\install\Installer->execute()
#5 /var/www/html/lib/pkp/classes/cliTool/UpgradeTool.php(70): PKP\cliTool\UpgradeTool->upgrade()
#6 /var/www/html/tools/upgrade.php(22): PKP\cliTool\UpgradeTool->execute()
#7 {main}
thrown in /var/www/html/lib/pkp/classes/migration/upgrade/v3_5_0/I9425_SeparateUIAndSubmissionLocales.php on line 64

Hi @mjakautama

Hmmm… Do you have one or several journals in your installation. It seems that a journal does not have any form locale.
Could you please check and confirm that this is the situation in your case? Maybe to see what is in your UI: Website Settings > Setup > Languages. But also in your DB table journal_settings – if there is a setting with the setting_name = ‘supportedFormLocales’.

Thanks a lot!
Bozana

Also need to check the journal setting named “supportedSubmissionLocales”. In my case both were missing and causing the problem.