Activity log loading error


My school has an instance of OJS 3.1.2 and have noticed some titles fail to load the activity log. Chrome shows a console error /$$$call$$$/grid/event-log/submission-event-log-grid/fetch-grid?submissionId=7&_=1552570465045

I tried to find the matching records in the event log table but have failed to find the matching items. The submissions that fail to load usually have two reviews.


You might be falling prey to a small bug in lib/pkp/classes/submission/

Can you edit that file and look around line 775 and make this change:

Note, that the code I am including is against OJS 3.1.2. You have instead.



Hi Jason,

Thank you, I’ve updated the code but continue to get the error for certain submissions. Edge just mentions the error above but chrome also shows a
Uncaught TypeError: Cannot read property ‘focus’ of null
at s.resetFocusInfoCenter (build.js:1)
at ModalHandler.js:257



Hi Nick,

That browser error is probably unrelated, but there might be more details in your server error log, when you attempt to load the activity log. Do you mind taking a look?



Hi Jason,

I’m sorrry for the format but here is a look at the apache error log.

[Fri Mar 15 13:45:36.660735 2019] [php7:error] [pid 29408] [client] PHP Fatal error:  Uncaught Error: Call to a member function getFullName() on null in /var/www/ojsproduction/lib/pkp/classes/user/\nStack trace:\n
#0 /var/www/ojsproduction/lib/pkp/classes/log/ UserDAO->getUserFullName('0', true)\n
#1 /var/www/ojsproduction/lib/pkp/controllers/grid/eventLog/ EmailLogEntry->getSenderFullName()\n
#2 /var/www/ojsproduction/lib/pkp/classes/controllers/grid/ EventLogGridCellProvider->getTemplateVarsFromRowColumn(Object(EventLogGridRow), Object(GridColumn))\n
#3 /var/www/ojsproduction/lib/pkp/classes/controllers/grid/ GridCellProvider->render(Object(Request), Object(EventLogGridRow), Object(GridColumn))\n
#4 /var/www/ojsproduction/lib/pkp/classes/controllers/grid/ GridHandler->_renderCellInternally(Object(Request), Object(EventLogGridRow), Object(GridColumn))\n
#5 /var/www/ojsproduction/lib/pkp/classes/controllers/grid/ GridHan in /var/www/ojsproduction/lib/pkp/classes/user/ on line 465, referer:
[Fri Mar 15 13:53:01.641678 2019] [php7:warn] [pid 29417] [client] PHP Warning:  Declaration of ReviewerReviewFilesGridDataProvider::loadData() should be compatible with ReviewGridDataProvider::loadData($filter = Array) in /var/www/ojsproduction/lib/pkp/controllers/grid/files/review/ on line 18, referer:


Hey @criminal

It looks like there is an email log entry that originally had a user associated with it, and then that user was either deleted or merged into another user, and the email log entry was never cleaned up.

Did you upgrade from an older version to 3.1.2? Did everything go smoothly with the upgrade?



Hi Jason,

Thank you. The email log had about eight items with a sender_id of zero. I upgraded the server twice and thought both were successful but something must have corrupted the log file.

The activity log is now loading as expected.

Thank you,


In OJS 3.2
The Activity log of articles in Copyediting & Production Stage was not loading, got below error:

[23-Mar-2019 14:49:30 Asia/Kolkata] PHP Fatal error: Uncaught Error: Call to a member function getFullName() on null in /public_html/journals/lib/pkp/classes/user/
Stack trace:
#0 /public_html/journals/lib/pkp/classes/log/ UserDAO->getUserFullName(‘0’, true)
#1 /public_html/journals/lib/pkp/controllers/grid/eventLog/ EmailLogEntry->getSenderFullName()
#2 /public_html/journals/lib/pkp/classes/controllers/grid/ EventLogGridCellProvider->getTemplateVarsFromRowColumn(Object(EventLogGridRow), Object(GridColumn))
#3 /public_html/journals/lib/pkp/classes/controllers/grid/ GridCellProvider->render(Object(Request), Object(EventLogGridRow), Object(GridColumn))
#4 /public_html/journals/lib/pkp/classes/controllers/grid/ GridHandler->_renderCellInternally(Object(Request), Object(EventLogGridRow), Object(GridColumn))
#5 /public_html/journals/lib/pkp/classes/user/ on line 465


Hi there,

Please apply this patch to your installation: