PHP Fatal Error on Error Log OJS

I get a PHP Fatal Error when I try to assign articles to a future issue but the process completes at the frontend.
Anyone else having the same problem?
Do you have any solution for this?
Best Regards,
Dr Ugur Kocak

[30-May-2020 12:24:20 Europe/Istanbul] PHP Fatal error:  Uncaught Error: Call to a member function getUserId() on null in /home/journals/public_html/lib/pkp/controllers/grid/queries/
Stack trace:
#0 /home/journals/public_html/lib/pkp/controllers/grid/queries/ QueriesAccessHelper->getCanDelete(335)
#1 /home/journals/public_html/lib/pkp/classes/controllers/grid/ QueriesGridRow->initialize(Object(Request))
#2 /home/journals/public_html/lib/pkp/classes/controllers/grid/ GridHandler->_getInitializedRowInstance(Object(Request), 335, Object(Query))
#3 /home/journals/public_html/lib/pkp/classes/controllers/grid/ GridHandler->renderRowsInternally(Object(Request), Array)
#4 /home/journals/public_html/lib/pkp/classes/controllers/grid/ GridHandler->renderGridBodyPartsInternally(Object(Request))
#5 /home/journals/public_html/lib/pkp/classes/controllers/grid/ GridHandler->doSpecificFetchGridAction in /home/journals/public_html/lib/pkp/controllers/grid/queries/ on line 119

Hi @drugurkocak,

You probably have an entry in the notes database table that does not correspond to an existing entry in users. You can identify it with the following database query:

SELECT n.* FROM notes n LEFT JOIN users u ON (u.user_id = n.user_id) WHERE u.user_id IS NULL; 

Alec Smecher
Public Knowledge Project Team

1 Like