Open salmanm2003 opened 3 months ago
@salmanm2003 the file OpenIDLoginHandler.inc.php has the same line that you replaced again in line 133 -- does that have to be replaced as well?
@fradeve Thanks for pointing that out—you're right, line 133 needs to be changed as well.
Hi @salmanm2003! Thanks for reporting that. Can you share the version of the plugin you are using, as well as the providers you are using?
Hi @defstat ,
The plugin version is v3-3-0_7
Error Encountered After Activating the Plugin and Logging Out of OJS
PHP Fatal error: Uncaught TypeError: array_shift(): Argument #1 ($array) must be of type array, Journal given in /var/www/html/lib/pkp/classes/core/PKPRouter.inc.php:487
I am using OJS 3.3.0.17
To fix the issue I have changed this line: https://github.com/pkp/openid/blob/cfee09b8b32b2a04229bb4f4275886969e771b88/handler/OpenIDLoginHandler.inc.php#L202 to this:
$request->redirect($request->getContext()->getPath(), 'index');