ORCID Profile Plugin's email settings block submissions from being accepted

It seems to be a db-related problem, but I am not sure. Upon clicking “Record editorial decision” the button turns gray and the “loading” loop keep spinning.

Steps:

  1. Go to to the submission details, review tab.
  2. Click on “Accept submission”.
  3. Click on “Next: Select files for copyediting”.
  4. Click on “Record Editorial Decision”.
  5. The loop keeps spinning and above action do not bring expected goals.

unsuccesful-record

OJS 3.3.0.14

It seems that I can’t get my hand on more meaningful logs at the moment:

78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:36 +0200] "GET /index.php/zfn/$$$call$$$/modals/editor-decision/editor-decision/promote-in-review?submissionId=637&stageId=3&reviewRoundId=534&decision=1&_=1695040927300 HTTP/1.1" 200 7887 "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /lib/pkp/lib/vendor/tinymce/tinymce/plugins/fullscreen/plugin.min.js HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /lib/pkp/lib/vendor/tinymce/tinymce/plugins/code/plugin.min.js HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /lib/pkp/lib/vendor/tinymce/tinymce/plugins/lists/plugin.min.js HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /lib/pkp/lib/vendor/tinymce/tinymce/plugins/image/plugin.min.js HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /lib/pkp/lib/vendor/tinymce/tinymce/skins/lightgray/content.min.css HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /plugins/generic/tinymce/styles/content.css HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:38 +0200] "GET /plugins/generic/tinymce/plugins/pkpTags/styles/editor.css HTTP/1.1" 304 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /index.php/zfn/$$$call$$$/grid/files/selectable-library-file-grid/fetch-grid?submissionId=637&_=1695040927302 HTTP/1.1" 200 5918 "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /index.php/zfn/$$$call$$$/grid/files/review/selectable-review-revisions-grid/fetch-grid?submissionId=637&stageId=3&reviewRoundId=534&_=1695040927303 HTTP/1.1" 200 12230 "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:37 +0200] "GET /index.php/zfn/$$$call$$$/grid/files/attachment/editor-selectable-review-attachments-grid/fetch-grid?submissionId=637&stageId=3&reviewRoundId=534&_=1695040927301 HTTP/1.1" 200 27427 "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
78.10.229.7 zfn.edu.pl - [18/Sep/2023:15:10:42 +0200] "POST /index.php/zfn/$$$call$$$/modals/editor-decision/editor-decision/save-promote-in-review HTTP/1.1" 500 - "https://zfn.edu.pl/index.php/zfn/workflow/index/637/3" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"

I moved the installation to a sandbox environment, where I have a complete control over the logs. It seems that this line of the report is problem-related:

[Sat Oct 07 18:02:49.001173 2023] [php7:error] [pid 24972:tid 1848] [client ::1:55400] PHP Fatal error:  Uncaught Error: Class 'League\OAuth2\Client\Provider\Google' not found in C:\xampp\htdocs\ZFN3_bu\lib\pkp\classes\mail\Mail.inc.php:495
Stack trace:
#0 C:\xampp\htdocs\ZFN3_bu\lib\pkp\classes\mail\MailTemplate.inc.php(212): Mail->send()
#1 C:\xampp\htdocs\ZFN3_bu\lib\pkp\classes\mail\MailTemplate.inc.php(250): MailTemplate->send()
#2 C:\xampp\htdocs\ZFN3_bu\plugins\generic\orcidProfile\OrcidProfilePlugin.inc.php(541): MailTemplate->sendWithParams(Array)
#3 C:\xampp\htdocs\ZFN3_bu\plugins\generic\orcidProfile\OrcidProfilePlugin.inc.php(1463): OrcidProfilePlugin->sendAuthorMail(Object(Author), true)
#4 C:\xampp\htdocs\ZFN3_bu\lib\pkp\classes\plugins\HookRegistry.inc.php(107): OrcidProfilePlugin->handleEditorAction('EditorAction::r...', Array)
#5 C:\xampp\htdocs\ZFN3_bu\lib\pkp\classes\submission\action\EditorAction.inc.php(72): HookRegistry::call('EditorAction::r...', Array)
#6 C:\xampp\htdocs\ZFN3_bu\lib\pkp\controllers\modals\editorDecision\form\PromoteForm.inc.php(92): EditorAction->recordDecision(Object(Req in C:\xampp\htdocs\ZFN3_bu\lib\pkp\classes\mail\Mail.inc.php on line 495, referer: http://localhost/ZFN3_bu/index.php/zfn/workflow/index/637/3

It is indeed ORCID Profile Plugin and checked option in the E-Mail Settings section (of the plugin settings)

:white_check_mark: Send e-mail to request ORCID authorization from authors when an article is accepted ie. sent to copy editing

that causes the problem.

It looks like OJS is trying to use Google OAuth while authorizing ORCID.

This topic was automatically closed after 13 days. New replies are no longer allowed.