Orcid Plugin Doesn't Work

  • Application Version OJS 3.2.1.2
  • Description of issue
    We using Orcid plugin on the OJS to verify people’s id. Last month the plugin was greatly working, then we facing the error.
    After the user click the authorizes button, the page then loads to the journal page. But here is the screenshot page after load

image

  • What you tried to resolve the issue
    We have re-inserting the Orcid API and the client iD.

  • Error log messages
    #0 /home/adeputra23/public_html/myjurnal/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(343): OrcidProfilePlugin->buildOAuthUrl(‘orcidAuthorize’, Array)
    #1 /home/adeputra23/public_html/myjurnal/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter(’\trunFilter(‘output’, '\trender(false, 1)
    #4 /home/adeputra23/public_html/myjurnal/lib in /home/adeputra23/public_html/myjurnal/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 304
    [06-Dec-2020 23:02:19 UTC] PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, ‘<’ not found in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 64
    [06-Dec-2020 23:02:19 UTC] PHP Warning: simplexml_load_string(): not authorized to view references in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 64
    [06-Dec-2020 23:02:19 UTC] PHP Warning: simplexml_load_string(): ^ in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 64
    [06-Dec-2020 23:02:19 UTC] PHP Notice: Trying to get property ‘query_result’ of non-object in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 65
    [06-Dec-2020 23:02:19 UTC] PHP Notice: Trying to get property ‘body’ of non-object in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 65
    [06-Dec-2020 23:02:19 UTC] PHP Notice: Trying to get property ‘forward_link’ of non-object in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 65
    [06-Dec-2020 23:13:14 UTC] PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, ‘<’ not found in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 64
    [06-Dec-2020 23:13:14 UTC] PHP Warning: simplexml_load_string(): not authorized to view references in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 64
    [06-Dec-2020 23:13:14 UTC] PHP Warning: simplexml_load_string(): ^ in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 64
    [06-Dec-2020 23:13:14 UTC] PHP Notice: Trying to get property ‘query_result’ of non-object in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 65
    [06-Dec-2020 23:13:14 UTC] PHP Notice: Trying to get property ‘body’ of non-object in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 65
    [06-Dec-2020 23:13:14 UTC] PHP Notice: Trying to get property ‘forward_link’ of non-object in /home/adeputra23/public_html/myjurnal/plugins/generic/citations/classes/CitationsParser.inc.php on line 65
    [06-Dec-2020 23:22:30 UTC] ojs2: 404 Not Found
    [06-Dec-2020 23:32:00 UTC] PHP Warning: assert(): assert($context != null) failed in /home/adeputra23/public_html/myjurnal/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 303
    [06-Dec-2020 23:32:00 UTC] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/adeputra23/public_html/myjurnal/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:304

need any advice.
Thanks

Hello @Ainul_Rafiq,

It looks like this is a recent/new issue with the orcid plugin, as it looks similar to what is happening here.

Tagging @Dulip_Withanage since I believe he is looking into these reports recently. :slight_smile:

Hi @Ainul_Rafiq
there was a issue in older version of the orcid. Could you try the latest one 1.1.2.6 from plugin gallery ?