Error when editing or adding roles after upgrade to OJS 3.5

After upgrading to OJS 3.5.x, I am getting an error whenever I try to edit an existing role (User Group) or add a new role. The page fails to load and displays this error:

PKP\invitation\invitations\userRoleAssignment\helpers\UserGroupHelper::formatDate():
Argument #1 ($timestamp) must be of type string, null given,
called in /home/mueduet/journal.mu.edu.et/lib/pkp/classes/invitation/invitations/userRoleAssignment/helpers/UserGroupHelper.php on line 43

I expected the User Group form to open normally so I could update or create roles.


Steps I took leading up to the issue

  1. Logged in as Journal Manager / Admin

  2. Went to Settings → Users & Roles → User Groups

  3. Clicked Edit on any User Group OR clicked Add User Group

  4. The error appears instead of loading the form


What application are you using?

OJS 3.5.x (upgraded from OJS 3.x)


Additional information

  • Error appears on both adding and editing user groups.

  • Other parts of the site appear to work normally.

  • PHP error message:

PKP\invitation\invitations\userRoleAssignment\helpers\UserGroupHelper::formatDate():
Argument #1 ($timestamp) must be of type string, null given

Hi @Yemane_Seged,

See this forum thread. We’re releasing OJS 3.5.0-2 within a couple of days, and it’ll include a fix for this issue.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you @asmecher I think it is good to wait OJS 3.5.0-2.
I hope User mangment and roles, Editorial Members, and others will be considered

This topic was automatically closed after 12 days. New replies are no longer allowed.