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:
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/
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.
I need help in solving the http error 500. I recently install the OJS version 3.3.0.13 everything is working but when i click the register button the following error show me. Is there anyone to guide me how to resolve this issue please.