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.
I am encountering the same problem, specifically when I press “register,” it displays error 500 immediately. Here is the error_log that appears.
[10-Aug-2024 16:09:19 UTC] PHP Warning: Creating default object from empty value in /home/cahayama/public_html/ojs/cache/t_compile/ef41840365eca71858acbf33bf485b9a16b48ad5^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[10-Aug-2024 16:09:19 UTC] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/cahayama/public_html/ojs/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Encoder.php on line 162
Can any senior members help me solve this problem? Please help me