When I click “Upload/Select Files” in Review Tab (Review Files section) I got error :
Failed Ajax request or invalid JSON returned.
I have watched logs and did not see any errors.
Logs from console browser:
you’ll need to look sever side, in the Apache error log, for the reason here. Look for PHP “Fatal Error” log messages.
There is nothing.
I have tried to repeat that on another hosting and error did not repeat. Perhaps there are some special php settings or required modules?
After turn on “Deprecation_warnings” I have got warnings:
[Tue Mar 16 21:12:25 2021] [notice] [client 22.214.171.124] PHP Notice: Deprecated call without request object. in /home/users/n/nii/domains/xxx/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 973, referer: http://site_com/index.php/journal/workflow/index/139/3
I found the solve in that thread - OJS 126.96.36.199 Upload file in review Stage not work - #2 by asmecher
I turn off display_errors in config file and everything worked.
Now json generated correct:
Before json generated with php warning.