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

PHP 7.4 Compatibility #38

Open
karks88 opened this issue Feb 24, 2021 · 3 comments
Open

PHP 7.4 Compatibility #38

karks88 opened this issue Feb 24, 2021 · 3 comments

Comments

@karks88
Copy link

karks88 commented Feb 24, 2021

Is WP Multisite SSO compatible with PHP 7.4? I've got a large multisite network to upgrade and am just covering all my bases.

@karks88
Copy link
Author

karks88 commented Mar 26, 2021

Just to follow up on this, I'm finding the following error when trying to log in after upgrading to PHP 7.4:

Fatal error: Uncaught Error: Length must be greater than 0 in /code/wp-content/plugins/wp-multisite-sso/wp-multisite-sso.php:148 Stack trace: #0 /code/wp-content/plugins/wp-multisite-sso/wp-multisite-sso.php(148): openssl_random_pseudo_bytes(0) #1 /code/wp-includes/class-wp-hook.php(292): WP_MultiSite_SSO::handle_login('wkessler', Object(WP_User)) #2 /code/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #3 /code/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /code/wp-includes/user.php(110): do_action('wp_login', 'wkessler', Object(WP_User)) #5 /code/wp-login.php(1128): wp_signon(Array, true) #6 {main} thrown in /code/wp-content/plugins/wp-multisite-sso/wp-multisite-sso.php on line 148

@karks88
Copy link
Author

karks88 commented Mar 26, 2021

If you're interested, I believe the fix changing $cipher to AES-128-CBC

@karks88
Copy link
Author

karks88 commented Jul 21, 2021

Just checking in - is the project no longer active?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant