Hi!
OJS version: 3.3.0-7
ORCID Profile plugin: v1.1.3.1 released on 2022-03-07
I’ve set up OrcidProfile plugin using the public ORCID API and everything is working fine except for the “Send e-mail to request ORCID authorization from authors when an article is accepted ie. sent to copy editing” option.
When this action is triggered, I get:
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class 'OrcidProfilePlugin' does not have a method 'handleEditorAction' in {ojs}/lib/pkp/classes/plugins/HookRegistry.inc.php on line 107
Deleted the plugin, reinstalled through the Plugin gallery but nothing changed.
Finally, I found that the handleEditorAction()
function declaration is missing for this 1.1.3.1 tag. Just by pasting the declaration from the previous 1.1.2-26 version, the plugin sends the email (ORCID_COLLECT_AUTHOR_ID
) and the PHP errors log stay clean.
I’m not sure if this should be reported as an issue or maybe I’m missing something else.