Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openid plugin - Sign out throw fatal error #31

Open
seisense opened this issue Jun 17, 2023 · 0 comments
Open

Openid plugin - Sign out throw fatal error #31

seisense opened this issue Jun 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@seisense
Copy link

Describe the bug
When the plugin is active and a user logs out a blank page is shown with HTTP error 500 and an error message logged.

To Reproduce
Steps to reproduce the behavior:

Logout
See blank page
What application are you using?
OJS version: 3.3.0.13,
PHP: 8.1.14,
Plugin Version: 3.3.0.6

Additional information

Error message
[17-Jun-2023 00:18:48 Asia/Riyadh] PHP Fatal error: Uncaught TypeError: array_shift(): Argument #1 ($array) must be of type array, Journal given in /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPRouter.inc.php:485 Stack trace: #0 /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPRouter.inc.php(485): array_shift() #1 /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPPageRouter.inc.php(260): PKPRouter->_urlGetBaseAndContext() #2 /home/seisense/journal.seisense.com/lib/pkp/classes/core/Dispatcher.inc.php(167): PKPPageRouter->url() #3 /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPRequest.inc.php(659): Dispatcher->url() #4 /home/seisense/journal.seisense.com/plugins/generic/openid/handler/OpenIDLoginHandler.inc.php(182): PKPRequest->redirect() #5 /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPRouter.inc.php(395): OpenIDLoginHandler->signOut() #6 /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest() #7 /home/seisense/journal.seisense.com/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route() #8 /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch() #9 /home/seisense/journal.seisense.com/index.php(68): PKPApplication->execute() #10 {main} thrown in /home/seisense/journal.seisense.com/lib/pkp/classes/core/PKPRouter.inc.php on line 485

@seisense seisense added the bug Something isn't working label Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant