scanning through my warnings log, I found the following:
Message: WARNING: Missing argument 1 for RegistrationHandler::registrationDisabled(), called in /html/ojs/pages/user/RegistrationHandler.inc.php on line 179 and defined
In file: /html/ojs/pages/user/RegistrationHandler.inc.php
At line: 117
Stacktrace:
File: /html/ojs/pages/user/RegistrationHandler.inc.php line 117
Function: PKPApplication->errorHandler(2, "Missing argument 1 for RegistrationHandler::registrationDisabled(), called in /html/ojs/pages/user/RegistrationHandler.inc.php on line 179 and defined", "/html/ojs/pages/user/RegistrationHandler.inc.php", 117, Array(0))
File: /html/ojs/pages/user/RegistrationHandler.inc.php line 179
Function: RegistrationHandler->registrationDisabled()
File: /html/ojs/pages/user/RegistrationHandler.inc.php line 31
Function: RegistrationHandler->validate(Object(Request))
File: (unknown) line (unknown)
Function: RegistrationHandler->register(Array(0), Object(Request))
File: /html/ojs/lib/pkp/classes/core/PKPRouter.inc.php line 370
Function: call_user_func(Array(2), Array(0), Object(Request))
File: /html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php line 266
Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False)
File: /html/ojs/lib/pkp/classes/core/Dispatcher.inc.php line 133
Function: PKPPageRouter->route(Object(Request))
File: /html/ojs/lib/pkp/classes/core/PKPApplication.inc.php line 189
Function: Dispatcher->dispatch(Object(Request))
File: /html/ojs/index.php line 67
Function: PKPApplication->execute()
Server info:
OS: Linux
PHP Version: 5.2.13
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.17
When looking at the code I wonder what the $args are supposed to be used or passed for, as they are not used in this function. Probably the code here could be cleaned up?
Greetings,
Kai Weber
