[OJS 3.2.1-1] - Fatal error in error log

Just upgraded from 3.1.1-4 to 3.2.1-1
I’m getting lots of entries in log. Most of them are warnings.
But I’m getting a fatal error, which I cannot identify the reason.

[06-Jul-2020 19:23:31 Atlantic/Canary] PHP Fatal error:  Uncaught Error: Call to a member function getJournalId() on null in /var/www/html/pasos/classes/issue/IssueAction.inc.php:31

Stack trace:
#0 /var/www/html/pasos/pages/search/SearchHandler.inc.php(246): IssueAction->subscriptionRequired(NULL, Object(Journal))
#1 /var/www/html/pasos/lib/pkp/classes/core/PKPRouter.inc.php(391): SearchHandler->authors(Array, Object(Request))
#2 /var/www/html/pasos/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#3 /var/www/html/pasos/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->route(Object(Request))
#4 /var/www/html/pasos/lib/pkp/classes/core/PKPApplication.inc.php(279): Dispatcher->dispatch(Object(Request))
#5 /var/www/html/pasos/index.php(68): PKPApplication->execute()
#6 {main}
 thrown in /var/www/html/pasos/classes/issue/IssueAction.inc.php on line 31

Any help with this issue?

Thanks in advance for your reply.


This is happening to me too, ojs 3.2.1-1 with postgres.

Hi all,

This is likely the same underlying data problem as this post; see the suggestion there:

Alec Smecher
Public Knowledge Project Team