Error 500 registration page

Hi @asmecher,

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

image

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 172.20.0.152:58773] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/site.revistas.udea.edu.co/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:253\nStack trace:\n#0 /var/www/html/site.revistas.udea.edu.co/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(289): OrcidProfilePlugin->buildOAuthUrl(‘orcidAuthorize’, Array)\n#1 /var/www/html/site.revistas.udea.edu.co/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter(’\n\t\n\n\t\n\n<!DOCTYP…’, Object(Smarty_Internal_Template))\n#2 /var/www/html/site.revistas.udea.edu.co/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter(‘output’, ‘\n\t\n\n\t\n\n<!DOCTYP…’, Object(Smarty_Internal_Template))\n#3 /var/www/html/site.revistas.udea.edu.co/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)\n#4 /var/www/html/site. in /var/www/html/site.revistas.udea.edu.co/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 253, referer: http://revistas.udea.edu.co/

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

image

Regards.

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?

Thanks
andrea

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 3.3.0.8 OJS facing same issue since few days… Please help