Error message when using the ORCID Profile Plugin after updating to OJS

We have successfully installed the ORCID Profile Plugin in our multi-journal platform in OJS - users were able to register with their ORCID iD and connect their accounts (“Create or Connect your ORCID iD”). We are using an ORCID Membership API and the credentials are provided in the

After updating to OJS we just get this error message, when clicking on the button “Create or Connect your ORCID iD”.

Fatal error: Uncaught Error: Call to a member function getId() on null in /srv/www/ojs/ojs/plugins/generic/orcidProfile/ Stack trace: #0 /srv/www/ojs/ojs/plugins/generic/orcidProfile/ OrcidProfilePlugin->buildOAuthUrl('orcidAuthorize', Array) #1 /srv/www/ojs/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter('\t<!DOCTYPE html...', Object(Smarty_Internal_Template)) #2 /srv/www/ojs/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter('output', '\t<!DOCTYPE html...', Object(Smarty_Internal_Template)) #3 /srv/www/ojs/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1) #4 /srv/www/ojs/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Ob in /srv/www/ojs/ojs/plugins/generic/orcidProfile/ on line 304

It’s not possible to connect to ORCID accounts at all on our journal platform.

What can cause this error?

Best, Sebastian


Hi Sebastian,
Thanks for pointing. Looks like the same issue, as you already pointed out.

Will look into it and come with a new release.

1 Like