Describe the issue or problem
I developed a plugin for OJS (version 3.3.0.14), which clashes with the ORCID plugin. When my plugin is activated, Register does not show the ORCID button. When deactivated, it does. I stripped down my plugin to localize the problem.
Steps I took leading up to the issue
In my plugin’s register() function, I use
HookRegistry::register('Templates::Common::Footer::PageFooter', array(&$this, 'addSpecialIssueArticles'));
to register function “addSpecialIssueArticles”. This function is as follows:
function addSpecialIssueArticles($hookName, $params) {
$templateMgr =& $params[1];
$output =& $params[2];
$issue = $templateMgr->get_template_vars('issue');
/* $descr = $issue->getLocalizedDescription(); */
/* $vol = $issue->getVolume(); */
/* $nr = $issue->getNumber(); */
}
Everything works fine when the last three lines are commented. When I uncomment any one of them, the problem occurs (and my users cannot register using their ORCID).
What application are you using?
I use OJS 3.3.0.14
Additional information