OJS3.1 Error log

Server INFO:
OS: Linux
PHP version 7.0.19-1
Apache version nginx/1.11.12
Database driver mysqli
Database server version 10.2.10-MariaDB-10.2.10+maria~jessie

Our team upgrade Ojs 2 to Ojs3.1 everything work fine but it often show this error log:

[21-Nov-2017 18:28:00 Asia/Bangkok] PHP Fatal error: Uncaught Error: Call to a member function getSetting() on null in /web/thaijo2/classes/issue/IssueAction.inc.php:41
Stack trace:
#0 /web/thaijo2/pages/search/SearchHandler.inc.php(228): IssueAction->subscriptionRequired(Object(Issue), NULL)
#1 /web/thaijo2/lib/pkp/classes/core/PKPRouter.inc.php(372): SearchHandler->authors(Array, Object(Request))
#2 /web/thaijo2/lib/pkp/classes/core/PKPPageRouter.inc.php(233): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#3 /web/thaijo2/lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))
#4 /web/thaijo2/lib/pkp/classes/core/PKPApplication.inc.php(243): Dispatcher->dispatch(Object(Request))
#5 /web/thaijo2/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /web/thaijo2/classes/issue/IssueAction.inc.php on line 41

I not sure it come from because our OJS has many users access .


Hi @MrChoke

And what happens when this error shows up? Some task is not possible to achieve?

Debugging first error it is related a subscription mode checking ,as you can see here:

Do you think that could be related to your question?

Israel Cefrin
Public Knowledge Project Team