You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the plugins is active and a user logs out a blank page is shown and an error message logged.
To Reproduce
Steps to reproduce the behavior:
Logout
See blank page
What application are you using?
OPS version 3.3.0.8, PHP 8.1.14, Plugin Version
Additional information
Error message
[php:error] [pid 8516] [client 134.95.147.149:32884] 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:485
I figured out that the redirect request in line 182 in openid/handler/OpenIDLoginHandler.inc.php needs to be changed to
$request->redirect(Application::get()->getRequest()->getRequestedContextPath(), 'index');
to make it work.
Describe the bug
When the plugins is active and a user logs out a blank page is shown and an error message logged.
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OPS version 3.3.0.8, PHP 8.1.14, Plugin Version
Additional information
Error message
[php:error] [pid 8516] [client 134.95.147.149:32884] 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:485
The text was updated successfully, but these errors were encountered: