I updated my OJS version from 3.2.1.4 to 3.3.0.21 and encountered a problem that I initially thought was a database issue, but checking the database confirmed the data is fine.
Then I analyzed the PHP logs and saw that the frontend is calling a method in the API and returning a 500 error because the method doesn’t exist in the SubmissionFileDAO class. The method name is “lastSubmission” or “lastRevision”, something similar.
Because of this error, I’m unable to access/view the files submitted by authors to my journal.
The actual error message should appear in the line just above what you’ve quoted. (The #0 to #6 lines are the stack trace, but what we need is just above that.) Can you include it?
Thanks,
Alec Smecher
Public Knowledge Project Team
#6 /var/www/html/revistas/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_au in /var/www/html/revistas/lib/pkp/controllers/grid/files/SubmissionFilesGridDataProvider.inc.php on line 91
[11-Nov-2025 15:49:08 UTC] PHP Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getLatestRevisions() in /var/www/html/revistas/lib/pkp/controllers/grid/files/SubmissionFilesGridDataProvider.inc.php:91