Error 500 registration page

Hi @asmecher,

I am using the ojs in version, but when I click on the register button, on the main page of the platform I get the following:


And this is the error that I get in the php logs:

[Fri Dec 06 15:59:10.225204 2019] [php7:error] [pid 11114] [client] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/\nStack trace:\n#0 /var/www/html/ OrcidProfilePlugin->buildOAuthUrl(‘orcidAuthorize’, Array)\n#1 /var/www/html/ OrcidProfilePlugin->registrationFilter(’\n\t\n\n\t\n\n<!DOCTYP…’, Object(Smarty_Internal_Template))\n#2 /var/www/html/ Smarty_Internal_Runtime_FilterHandler->runFilter(‘output’, ‘\n\t\n\n\t\n\n<!DOCTYP…’, Object(Smarty_Internal_Template))\n#3 /var/www/html/ Smarty_Internal_Template->render(false, 1)\n#4 /var/www/html/site. in /var/www/html/ on line 253, referer:

Thank you very much for the help.

Hi @diegomejia07,

Looks like this error comes from the ORCID Profile Plugin. Can you ensure that you are using the latest version?

Hi @Vitaliy,

This is the version I am using right now



The code here suggests that this shouldn’t be enabled for the site index:

but only enabled within a journal context.

Your URL is referencing the site index: “index.php/index/user/register”. I’m not sure why the code excludes the possibility of registering from the site index, but this should work from within any specific journal.

Hello @ctgraham
is it possible to have a gracefully failure instead of an error page?


Agreed. I’ve opened this as a bug report here:

Great! Thanks :slight_smile:

Hi @marchitelli ,

I have released two versions in plugin-gallery, which should address this issue.

OJS 3.1 Release v1_1_1-12 · pkp/orcidProfile · GitHub
OJS 3.2 Release v1_1_2-7 · pkp/orcidProfile · GitHub

Please test it and let me know if the problem still persists.

I am using OJS facing same issue since few days… Please help