Fatal error when used on site registration #164
Comments
|
Another report of this on the forum: https://forum.pkp.sfu.ca/t/after-upgrade-to-ojs-3-2-1-3-orcid-plugin-producing-fatal-error/65473/17 |
|
@ctgraham, at a glance, it shouldn't be possible to enable the ORCID plugin site-wide. Do you know how you did that? |
|
I think I just depended on the report from the forum rather than reproducing it locally. |
|
@asmecher , it is actually possiblie to enable is sitewide using the config.inc.php
I would prefer for disabing the functionality for the site-index , cause the users generally do not need the orcid functionality fwithout a journal. |
|
I have released the following plugin versions addressing this. OJS 3.1 https://github.com/pkp/orcidProfile/releases/tag/v1_1_1-12 I will ask the forum users to do functional tests. OJS 3.3 will follow soon. |
Describe the bug
Plugin causes 500 error on the registration page in the site context.
To Reproduce
Steps to reproduce the behavior:
PHP Fatal error: Uncaught Error: Call to a member function getId() on nullExpected behavior
Either registration using the orcidProfile plugin works within the site index, or the code fails gracefully to register without orcidProfile functionality in the site index.
Additional context
https://forum.pkp.sfu.ca/t/error-500-registration-page/57411/4?u=ctgraham
The text was updated successfully, but these errors were encountered: