Enroll an Existing User as Reviewer not working

We have upgraded OJS from 2.4 to 3.3.0.10.
If we are adding a reviewer from the Add Reviewer page → Enrol Existing User and search by name. But no reviewer will appear. The only spin icon was spinning.

add existing user as reviewer

mysql query process list 1

Hi @shantanusingh,

What about your PHP error log - does it provide any error messages?

-Roger
PKP Team

No error log, if we enter any name in the text box for search then only circular is spinning for a long time. After 4-5 minutes search stops and no output and no error log.

I don’t know this log is helpful or not. Only warning log is generated.

[10-May-2022 10:30:39 Asia/Kolkata] PHP Warning: Declaration of ManageCopyeditFilesForm::execute($stageSubmissionFiles, $fileStage = NULL) should be compatible with ManageSubmissionFilesForm::execute($stageSubmissionFiles = NULL, $fileStage = NULL, …$functionArgs) in /EPUB/ojs/lib/pkp/controllers/grid/files/copyedit/form/ManageCopyeditFilesForm.inc.php on line 33
[10-May-2022 10:30:39 Asia/Kolkata] PHP Stack trace:
[10-May-2022 10:30:39 Asia/Kolkata] PHP 1. {main}() /EPUB/ojs/index.php:0
[10-May-2022 10:30:39 Asia/Kolkata] PHP 2. PKPApplication->execute() /EPUB/ojs/index.php:68
[10-May-2022 10:30:39 Asia/Kolkata] PHP 3. Dispatcher->dispatch($request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.copyedit.CopyeditFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class CopyeditFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘112598’, ‘stageId’ => ‘4’, '’ => ‘1652158658935’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $_isBot = NULL; public $_userAgent = ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36’ }) /EPUB/ojs/lib/pkp/classes/core/PKPApplication.inc.php:362
[10-May-2022 10:30:39 Asia/Kolkata] PHP 4. PKPComponentRouter->route($request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.copyedit.CopyeditFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class CopyeditFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘112598’, ‘stageId’ => ‘4’, '’ => ‘1652158658935’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $_isBot = NULL; public $_userAgent = ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36’ }) /EPUB/ojs/lib/pkp/classes/core/Dispatcher.inc.php:144
[10-May-2022 10:30:39 Asia/Kolkata] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest($serviceEndpoint = [0 => class CopyeditFilesGridHandler { public $_capabilities = class FilesGridCapabilities { … }; public $_stageId = 4; public $_title = ‘submission.copyedited’; public $_emptyRowText = ‘grid.noFiles’; public $_footNote = ‘’; public $_dataProvider = class CopyeditFilesGridDataProvider { … }; public $_actions = […]; public $_columns = […]; public $_data = NULL; public $_itemIterator = NULL; public $_template = NULL; public $_urls = NULL; public $_features = NULL; public $_constants = […]; protected $_apiToken = NULL; public $_id = ‘grid-files-copyedit-copyeditfilesgrid’; public $_dispatcher = class Dispatcher { … }; public $_checks = […]; public $_roleAssignments = […]; public $_authorizationDecisionManager = class AuthorizationDecisionManager { … }; public $_enforceRestrictedSite = TRUE; public $_roleAssignmentsChecked = TRUE; public $_isBackendPage = FALSE }, 1 => ‘selectFiles’], $request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.copyedit.CopyeditFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class CopyeditFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘112598’, ‘stageId’ => ‘4’, '’ => ‘1652158658935’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $isBot = NULL; public $userAgent = ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36’ }, $args = [‘submissionId’ => ‘112598’, ‘stageId’ => ‘4’, '’ => ‘1652158658935’], $validate = uninitialized) /EPUB/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php:257
[10-May-2022 10:30:39 Asia/Kolkata] PHP 6. CopyeditFilesGridHandler->selectFiles($args = [‘submissionId’ => ‘112598’, ‘stageId’ => ‘4’, '
’ => ‘1652158658935’], $request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.copyedit.CopyeditFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class CopyeditFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘112598’, ‘stageId’ => ‘4’, '’ => ‘1652158658935’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $_isBot = NULL; public $_userAgent = ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36’ }) /EPUB/ojs/lib/pkp/classes/core/PKPRouter.inc.php:395
[10-May-2022 10:30:39 Asia/Kolkata] PHP 7. import($class = ‘lib.pkp.controllers.grid.files.copyedit.form.ManageCopyeditFilesForm’) /EPUB/ojs/lib/pkp/controllers/grid/files/copyedit/CopyeditFilesGridHandler.inc.php:79
[10-May-2022 10:30:39 Asia/Kolkata] PHP 8. require_once() /EPUB/ojs/lib/pkp/includes/functions.inc.php:25
[10-May-2022 10:37:02 Asia/Kolkata] PHP Warning: Declaration of ManageReviewFilesForm::execute($stageSubmissionFiles, $fileStage = NULL) should be compatible with ManageSubmissionFilesForm::execute($stageSubmissionFiles = NULL, $fileStage = NULL, …$functionArgs) in /EPUB/ojs/lib/pkp/controllers/grid/files/review/form/ManageReviewFilesForm.inc.php on line 87
[10-May-2022 10:37:02 Asia/Kolkata] PHP Stack trace:
[10-May-2022 10:37:02 Asia/Kolkata] PHP 1. {main}() /EPUB/ojs/index.php:0
[10-May-2022 10:37:02 Asia/Kolkata] PHP 2. PKPApplication->execute() /EPUB/ojs/index.php:68
[10-May-2022 10:37:02 Asia/Kolkata] PHP 3. Dispatcher->dispatch($request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.review.EditorReviewFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class EditorReviewFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘123326’, ‘stageId’ => ‘3’, ‘reviewRoundId’ => ‘56174’, '’ => ‘1652159506337’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $_isBot = NULL; public $_userAgent = ‘Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36’ }) /EPUB/ojs/lib/pkp/classes/core/PKPApplication.inc.php:362
[10-May-2022 10:37:02 Asia/Kolkata] PHP 4. PKPComponentRouter->route($request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.review.EditorReviewFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class EditorReviewFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘123326’, ‘stageId’ => ‘3’, ‘reviewRoundId’ => ‘56174’, '’ => ‘1652159506337’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $_isBot = NULL; public $_userAgent = ‘Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36’ }) /EPUB/ojs/lib/pkp/classes/core/Dispatcher.inc.php:144
[10-May-2022 10:37:02 Asia/Kolkata] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest($serviceEndpoint = [0 => class EditorReviewFilesGridHandler { public $_capabilities = class FilesGridCapabilities { … }; public $_stageId = 3; public $_title = ‘reviewer.submission.reviewFiles’; public $_emptyRowText = ‘grid.noFiles’; public $_footNote = ‘’; public $_dataProvider = class ReviewGridDataProvider { … }; public $_actions = […]; public $_columns = […]; public $_data = NULL; public $_itemIterator = NULL; public $_template = NULL; public $_urls = NULL; public $_features = NULL; public $_constants = […]; protected $_apiToken = NULL; public $_id = ‘grid-files-review-editorreviewfilesgrid’; public $_dispatcher = class Dispatcher { … }; public $_checks = […]; public $_roleAssignments = […]; public $_authorizationDecisionManager = class AuthorizationDecisionManager { … }; public $_enforceRestrictedSite = TRUE; public $_roleAssignmentsChecked = TRUE; public $_isBackendPage = FALSE }, 1 => ‘selectFiles’], $request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.review.EditorReviewFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class EditorReviewFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘123326’, ‘stageId’ => ‘3’, ‘reviewRoundId’ => ‘56174’, '’ => ‘1652159506337’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $isBot = NULL; public $userAgent = ‘Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36’ }, $args = [‘submissionId’ => ‘123326’, ‘stageId’ => ‘3’, ‘reviewRoundId’ => ‘56174’, '’ => ‘1652159506337’], $validate = uninitialized) /EPUB/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php:257
[10-May-2022 10:37:02 Asia/Kolkata] PHP 6. EditorReviewFilesGridHandler->selectFiles($args = [‘submissionId’ => ‘123326’, ‘stageId’ => ‘3’, ‘reviewRoundId’ => ‘56174’, '
’ => ‘1652159506337’], $request = class Request { public $_router = class PKPComponentRouter { public $_component = ‘grid.files.review.EditorReviewFilesGridHandler’; public $_op = ‘selectFiles’; public $_rpcServiceEndpointParts = […]; public $_rpcServiceEndpoint = […]; public $_application = class Application { … }; public $_dispatcher = class Dispatcher { … }; public $_contextDepth = 1; public $_contextList = […]; public $_flippedContextList = […]; public $_contextPaths = […]; public $_contexts = […]; public $_handler = class EditorReviewFilesGridHandler { … }; public $_indexUrl = ‘https://epubs.icar.org.in/index.php’ }; public $_dispatcher = class Dispatcher { public $_application = class Application { … }; public $_routerNames = […]; public $_routerInstances = […]; public $_router = class PKPComponentRouter { … }; public $_requestCallbackHack = NULL }; public $requestVars = [‘submissionId’ => ‘123326’, ‘stageId’ => ‘3’, ‘reviewRoundId’ => ‘56174’, '’ => ‘1652159506337’]; public $_basePath = ‘’; public $_requestPath = NULL; public $_isRestfulUrlsEnabled = FALSE; public $_isPathInfoEnabled = TRUE; public $_serverHost = ‘epubs.icar.org.in’; public $_protocol = ‘https’; public $_isBot = NULL; public $_userAgent = ‘Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36’ }) /EPUB/ojs/lib/pkp/classes/core/PKPRouter.inc.php:395
[10-May-2022 10:37:02 Asia/Kolkata] PHP 7. import($class = ‘lib.pkp.controllers.grid.files.review.form.ManageReviewFilesForm’) /EPUB/ojs/lib/pkp/controllers/grid/files/review/EditorReviewFilesGridHandler.inc.php:58
[10-May-2022 10:37:02 Asia/Kolkata] PHP 8. require_once() /EPUB/ojs/lib/pkp/includes/functions.inc.php:25

We have upgraded OJS 3.3.0.10 to OJS 3.3.0.11 but “Enroll an Existing User as Reviewer” is still not working.
If we search by name, no response/result showing and no error log reported.

Hi @shantanusingh
Try to downgrade your php from 8.0 to 7.4 and try again
That may help
-regards

Already using PHP 7.4.

We are using OJS 3.3.0.13 but still not working “Enroll an Existing User as Reviewer” in the Add Reviewer section.
If we search by name, no response/result is showing and no error log is reported.

@asmecher @rcgillis So many journal edit reporting this issue, Kindly help me to solve this.