We are unable to install OJS 3.5 on Cpanel either from Softaculous or from .tar.gz archive.
Error 500 after installation, with this message:
[26-Mar-2026 07:52:31 Europe/Bucharest] PHP Fatal error: Uncaught TypeError: PKP\userGroup\Repository::forgetEditorialCache(): Argument #1 ($contextId) must be of type int, null given, called in /home/rrmlro/public_html/ojswork/lib/pkp/classes/userGroup/UserGroup.php on line 348 and defined in /home/rrmlro/public_html/ojswork/lib/pkp/classes/userGroup/Repository.php:604
Stack trace:
#0 /home/rrmlro/public_html/ojswork/lib/pkp/classes/userGroup/UserGroup.php(348): PKP\userGroup\Repository::forgetEditorialCache()
#1 /home/rrmlro/public_html/ojswork/lib/pkp/classes/install/PKPInstall.php(265): PKP\userGroup\UserGroup->save()
#2 [internal function]: PKP\install\PKPInstall->createData()
#3 /home/rrmlro/public_html/ojswork/lib/pkp/classes/install/Installer.php(491): call_user_func()
#4 /home/rrmlro/public_html/ojswork/lib/pkp/classes/install/Installer.php(298): PKP\install\Installer->executeAction()
#5 /home/rrmlro/public_html/ojswork/lib/pkp/classes/install/Installer.php(207): PKP\install\Installer->executeInstaller()
#6 /home/rrmlro/public_html/ojswork/lib/pkp/classes/install/form/InstallForm.php(198): PKP\install\Installer->execute()
#7 /home/rrmlro/public_html/ojswork/lib/pkp/pages/install/InstallHandler.php(93): PKP\install\form\InstallForm->execute()
#8 [internal function]: PKP\pages\install\InstallHandler->install()
#9 /home/rrmlro/public_html/ojswork/lib/pkp/classes/core/PKPRouter.php(327): call_user_func()
#10 /home/rrmlro/public_html/ojswork/lib/pkp/classes/core/PKPPageRouter.php(249): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#11 /home/rrmlro/public_html/ojswork/lib/pkp/classes/core/Dispatcher.php(157): PKP\core\PKPPageRouter->route()
#12 /home/rrmlro/public_html/ojswork/lib/pkp/classes/core/PKPApplication.php(429): PKP\core\Dispatcher->dispatch()
#13 /home/rrmlro/public_html/ojswork/index.php(21): PKP\core\PKPApplication->execute()
#14 {main}
thrown in /home/rrmlro/public_html/ojswork/lib/pkp/classes/userGroup/Repository.php on line 604
Did anyone have the same issue?