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

mcrypt may cause future problems (PHP >= 7.1) #19

Open
atbostudio opened this issue Jan 30, 2017 · 1 comment
Open

mcrypt may cause future problems (PHP >= 7.1) #19

atbostudio opened this issue Jan 30, 2017 · 1 comment

Comments

@atbostudio
Copy link
Contributor

following Methods are marked as deprecated:

mcrypt is abandonware!

encryption/decryption could be done with openssl_encrypt/openssl_decrypt.
why?, see following pros:

  • better security
  • performance -> it's way faster
  • maintainability
  • portability

(@see https://secure.php.net/openssl_encrypt, https://secure.php.net/openssl_decrypt)

@vespino
Copy link

vespino commented Apr 9, 2017

The most certainly do.

[09-Apr-2017 09:39:17 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /var/www/html/wp-content/plugins/wp-multisite-sso/wp-multisite-sso.php:139
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(298): WP_MultiSite_SSO::handle_login('user', Object(WP_User))
#1 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /var/www/html/wp-includes/user.php(104): do_action('wp_login', 'user', Object(WP_User))
#4 /var/www/html/wp-login.php(787): wp_signon(Array, false)
#5 {main}
thrown in /var/www/html/wp-content/plugins/wp-multisite-sso/wp-multisite-sso.php on line 139

r-a-y added a commit to r-a-y/wp-multisite-sso that referenced this issue Mar 15, 2018
mcrypt is deprecated as of PHP 7.1.

See voceconnect#19.
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

2 participants